Six Stars

Get all value in FlowToIterate then pass it all to GoogleGet

Hi,

 

 Would like to know the how to get all the value from FlowToIterate then Pass it to GoogleGet. I can download it to my local folder when I only have 1 result but when I have multiple result then it gives me error (see error message below) : 

 

[statistics] connecting to socket on port 3957
[statistics] connected
Exception in component tGoogleDriveGet_2 (jobGoogleDload)
java.lang.IllegalArgumentException: java.net.MalformedURLException
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:638)
at com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:114)
at test.jobgoogledload_0_1.jobGoogleDload.tIterateToFlow_2_AIProcess(jobGoogleDload.java:2855)
at test.jobgoogledload_0_1.jobGoogleDload.tGoogleDriveList_3Process(jobGoogleDload.java:1039)
at test.jobgoogledload_0_1.jobGoogleDload.tGoogleDriveConnection_1Process(jobGoogleDload.java:589)
at test.jobgoogledload_0_1.jobGoogleDload.tRESTClient_1Process(jobGoogleDload.java:2159)
at test.jobgoogledload_0_1.jobGoogleDload.runJobInTOS(jobGoogleDload.java:3284)
at test.jobgoogledload_0_1.jobGoogleDload.main(jobGoogleDload.java:3099)
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
[statistics] disconnected
at java.net.URL.<init>(Unknown Source)
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:636)
... 7 more
Caused by: java.lang.NullPointerException
... 11 more

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Get all value in FlowToIterate then pass it all to GoogleGet

Hi,

Thank you for the response for this. I already pinpoint what is the cause of the error. It is because there is a other file format on my gdrive thats why it cause an error it should be always an excel file
2 REPLIES
Employee

Re: Get all value in FlowToIterate then pass it all to GoogleGet

Hi,

 

     Could you please try to print the values using a tlogrow to see whether the values are coming correctly?

 

      If the data is coming correctly in tlogrow for all the values in loop, then we need to see the details from other aspects.

 

Warm Regards,

 

Nikhil Thampi

Six Stars

Re: Get all value in FlowToIterate then pass it all to GoogleGet

Hi,

Thank you for the response for this. I already pinpoint what is the cause of the error. It is because there is a other file format on my gdrive thats why it cause an error it should be always an excel file