We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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.