cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

api v2 token expired !

api v2 token expired !

valnouk
New member | Level 2

Hello Everyone,

I noticed my api v2 oauth token expires after 4 hours. 

Is there anything i should modify in my account settings for the oauth token to never expire ?

If not, is there any workaround i could use to refresh the token automatically ?

thank you,

Anouk

2 Replies 2

Greg-DB
Dropbox Staff

It sounds like you're probably using access tokens from the API v2 Explorer. That's just meant for prototyping calls, and is currently using early access to a new feature where it only returns short-lived access tokens.

To get long-lived tokens, you should retrieve them for your own registered API app, instead of the API v2 Explorer. You can find information on how to do so in the OAuth Guide.

valnouk
New member | Level 2

thanks Greg. I ll check the guide you mentionned

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    valnouk New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?