cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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

Re: api v2 token expired !

Greg-DB
Dropboxer

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.

Re: api v2 token expired !

valnouk
New member | Level 2

thanks Greg. I ll check the guide you mentionned

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    valnouk New member | Level 2
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?