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

icossean's avatar
icossean
New member | Level 2
3 years ago

DropBox Integration / SDK 4.0 connection cutting out

Hi,   In the last month we have noticed an issue with the Dropbox API connection from our platform to Dropbox and believe this was caused by a recent policy update by Dropbox.   We run software s...
  • Здравко's avatar
    3 years ago

    icossean wrote:

    ... Only after we clear their API Key/Token from our server and then re-authenticate the client's credentials to apply a new API Key/token, the connection is restored and the upload function works again. ...


    Hi icossean,

    What actually do you mean here with "API Key/Token"? 🧐 Dropbox uses OAuth2 standard features for authentication (not all but...). Dropbox uses basic access token and refresh token. What your token matches to? 🤔

    If I have to bet, you mean access token. Some time ago, long lived access token was issued and used to authenticate applications. Despite existing long lived access tokens can still be used, new long lived token issuing was deprecated and is already dropped. New access token is valid for 4 hours at most. After that it has to be reissued or refreshed. That's what refresh token is directed for. This token doesn't expire, like long lived access token was before. In such a way once user authenticates used application, it doesn't need to reauthenticate it. Seems like you haven't added support for refresh token in your application. Isn't so? Finally it's time!

    Take a look on your SDKs examples, how you can do that. 😉 You may need/want to update it (and it's a good idea to keep everything updated).

    Hope this gives direction.

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: 11 hours 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!