We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Ronny_R26
24 days agoExplorer | Level 4
Dropbox Error 401: Unauthorized API Call
Hello, guys. I'm having unexpected issues trying to download all the files in a folder from Dropbox using the "https://content.dropboxapi.com/2/files/download_zip" API Call Request. But, I keep recei...
- 19 days ago
Are you using an app registered for the "app folder" access type? If so, it would only have access to contents of the special app folder that gets created for it. The folder in your screenshot isn't an an app folder though, so you'd need to use an app with the "full Dropbox" access type to access that. You can't switch the access type on an existing app, so you'd need to register another one here and switch to using token(s) for that one.
Alternatively, you can move that folder into the app folder, as long as it isn't a shared folder. (App folders can't contain shared folders.)
Greg-DB
24 days agoDropbox Staff
Please print out the content of the response body, as it should contain a more detailed error message indicating why the call failed.
- Ronny_R2623 days agoExplorer | Level 4
Here you have a SS from Postman
- Greg-DB23 days agoDropbox Staff
From the configuration in the UI in your screenshot, it looks like your client may be trying to parse the response as JSON, but the response isn't guaranteed to be JSON, so please check the raw response.
If the raw response is empty though, please check and share the headers as they may help indicate the issue. In that case, please ideally share both the request and response headers, but be sure to redact any sensitive values, such as the access token.
In any case though, it also appears you're trying to send your path parameter as a header named "path", however the parameters for the /2/files/download_zip call should be sent as JSON in a header named "Dropbox-API-Arg". Please refer to the documentation for the /2/files/download_zip endpoints for information on how to correctly format the request. The API v2 Explorer can also be helpful for prototyping and testing out calls.
- Ronny_R2622 days agoExplorer | Level 4
These are the headers:
The authorization token starts with: sl.B_cyu, does it work for you?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!