We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Eridanus
2 years agoNew member | Level 2
Downloading A file from a shared link using the API
Hello, I've tried downloading an Audio File from a share link using the suggested method on dropbox-sdk-js but I keep getting an error:
Error downloading file: DropboxResponseError: Respon...
Greg-DB
Dropbox Community Moderator
2 years agoCheck the response body for a more specific error message. With the JavaScript SDK, you should be able to by checking the nested `error.error` object.
An error response with a 401 status code like this should indicate an issue with the authorization though; for instance, the access token used may be invalid or expired. Make sure you're using a valid access token.
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!