Forum Discussion

Adi4's avatar
Adi4
Explorer | Level 3
3 years ago

Access Token 2

Hi Everyone !
I tried to generate long live Access Token form using URL and Code but I am not able to Get Access Token. 
Please Guide me to get access token 
Greg  Здравко .

2 Replies

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    3 years ago

    As I already explained here, there is no more long lived access token and don't know how to say it more clear. Such token was supported some time ago, but it's no more. Probably by mistake on some places in documentation this type of token still exists, but it's a mistake... nothing more! There is no way to get new long lived access token. That's why nobody could guide you - it's impossible. You have to use refresh token! Just don't forget it. That's it.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    Adi4 Здравко is correct; Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here.

    Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in this blog post which may serve as a useful example.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!