You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Rede Inspire's avatar
Rede Inspire
New member | Level 2
3 months ago

Re: Issue with Dropbox API Integration - Error 401 (Unauthorized)

I'm just having this 401 error, following the answer above I'm already using offline mode in the app to generate the code where I can refresh the token, I can request all the other routes I'm listing team members selecting the admin and sending in the request https://content.dropboxapi.com/2/files/download together with the valid access_token, dropbox-api-arg and dropbox-api-select-admin but it still returns error 401 without any error text in the body of the request

print od request response without body data with error 401

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Rede Inspire 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 as Здравко said, 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 37 minutes ago
325 Following

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 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!