Skip to main content
Question

Box zip_download API

  • May 22, 2025
  • 6 replies
  • 42 views

Forum|alt.badge.img

Hi Box Support team,

 

I keep getting error:404 after trying to download zip file from download_url generated by aip_download api.

Can you please tell me what might be the reason for that. 

 

 

Regards,

Saurabh

6 replies

Forum|alt.badge.img

Hello Saurabh, 

A 404 indicates that the user associated with your access token does not own or collaborate on the content you're trying to download. To confirm which user is associated with your token, I recommend using the get current user endpoint. To resolve this error you will either need to obtain a token for a user that already has access or add this user as a collaborator.  

Best, 

Kourtney


Forum|alt.badge.img

I am able to download individual files using the API but not the zip download. The zip download simply returns an empty zip file. 


Forum|alt.badge.img

Hmm that's strange. Would you be able to provide your client ID (aka api key) so I can take a look at our backend logs for more info? 

 


Forum|alt.badge.img

Okay to post that on public forum ?


Forum|alt.badge.img

Hello Kourtney. Can you tell me if it is safe to provide that client id on a public forum ?


Forum|alt.badge.img

Apologies for the delay - yes, a client ID is safe to share. The client secret is what you need to keep safe :)