Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Ronny_R26
2 years 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...
- 2 years 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
Dropbox Community Moderator
2 years agoThanks for following up with the additional information.
That looks like the right start of an access token. Looking at your headers though, your "Dropbox-API-Arg" value looks to be formatted incorrectly. Specifically, both:
- it has extra slashes, which are normally meant for escaping slashes in the command prompt but aren't needed in Postman
- the accented character needs to be encoded in the header (which Postman apparently doesn't do automatically). Refer to the documentation here for information on how to encode these values in headers.
So, for example, your Dropbox-API-Arg value would be:
{"path":"/Automatizaci\u00f3n Inteligente/CSV"}
Ronny_R26
2 years agoExplorer | Level 4
Thanks, it worked! But now the path seems to be incorrect since I'm receiving the error 409 conflict: "path/not_found/.."
But, that's the directory in my Dropbox.
Maybe I'm missing something?
- Greg-DB2 years ago
Dropbox Community Moderator
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.)
- Ronny_R262 years agoExplorer | Level 4
It worked, thank you!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!