Welcome to the new Box Support website. Check out all the details here on what’s changed.

Box zip_download API

New post

Comments

6 comments

  • Official comment
    Kourtney

    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

    Comment actions Permalink
  • Saurabh Deshpande

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

    0
    Comment actions Permalink
  • Kourtney

    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? 

     

    0
    Comment actions Permalink
  • Saurabh Deshpande

    Okay to post that on public forum ?

    0
    Comment actions Permalink
  • Saurabh Deshpande

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

    0
    Comment actions Permalink
  • Kourtney

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

    0
    Comment actions Permalink

Please sign in to leave a comment.