Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Connecting to Box API to download file from Box

Hi,
I am trying to create a job for downloading file from box.
Using tboxconnection first to connect to the box. Once connection is done, using tBoxGet component to download the file.
The path i am using is "/All Files/<Folder Name>/<File Name>.xlsx however getting error as java.net.UnknownHostException: api.box.com.
Also tried using the path as <File_ID>/content which we can use in POSTMAN.
Please suggest how to resolve this issue.


  0683p000009MCIz.png 0683p000009MCJ2.png

Thanks,
Arpita
Save
Save
Save
Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hi,
Is your Box API connection parameter Ok with you? Can you successfully access it through client without using talend tool?
Have you tried to set path as:" All Files/<Folder Name>/<File Name>.xlsx" to see if it works?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I am able to connect using Postman. In Postman first two steps are there to get authentication key, and last step is to get the connect to Box to get the required file. To Download file we are using the URL : <file_id>/content. 
This same URL i tried using in Talend but its not working.
Thanks,
Arpita
Anonymous
Not applicable
Author

Hi,
What's the build version you are using? subscription solution or open studio?
Best regards
Sabrina
skapoor1
Contributor
Contributor

Have you got any useful sol to this Arpita?

I am facing same issue with BOX API ..

Anonymous
Not applicable
Author

Hello,

We have replied to your another topic: https://community.talend.com/s/question/0D55b00006f4AK0CAM/box-connection-through-talend

Could you please have a look at it?

Best regards

Sabrina