cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

I wanna know how to stop refresh the Generated access token

I wanna know how to stop refresh the Generated access token

Okgo
New member | Level 2

I'm using the tutorial code but a few hours later

Generated access token does not work

so i changed token everytime when i use it.

 

i wanna know how to fix it

1 Reply 1

Здравко
Legendary | Level 20

@Okgo wrote:

I'm using the tutorial code but a few hours later

...


Hi @Okgo,

More precise the access token expires in 4 hours.


@Okgo wrote:

...

i wanna know how to fix it


You have to use refresh token in client object construction instead of access token. Unfortunately, you can not directly get refresh token as you can for access token (not yet, at least). Despite, you can get refresh token with few simple steps in terminal. For more info take a look here. 😉

Hope this helps.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?