Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expired_access_token #206

Open
RafaelFNovi opened this issue Dec 16, 2022 · 1 comment
Open

expired_access_token #206

RafaelFNovi opened this issue Dec 16, 2022 · 1 comment

Comments

@RafaelFNovi
Copy link

When i use this code: i have the message "expired_access_token"

token <- drop_auth()
saveRDS(token, "droptoken.rds")
 #Upload droptoken to your server
 ******** WARNING ********
 #Losing this file will give anyone 
 #complete control of your Dropbox account
 #You can then revoke the rdrop2 app from your
 #dropbox account and start over.
# ******** WARNING ********
# read it back with readRDS
token <- readRDS("droptoken.rds")
 #Then pass the token to each drop_ function
drop_acc(dtoken = token)****

$error_summary
[1] "expired_access_token/."

$error
$error$.tag
[1] "expired_access_token"

@jshoblock
Copy link

DropBox recently changed how long tokens last. The solution was posted here:
https://stackoverflow.com/questions/71393752/get-a-refresh-token-for-dropbox-api-using-rdrop2-and-drop-auth
Hopefully the authors of this package can make the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants