cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn 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: 

Error: user for app is not enabled when refreshing access token

Error: user for app is not enabled when refreshing access token

ol_minhkhau
New member | Level 2

When I refresh my access token using this API

curl https://api.dropbox.com/oauth2/token \
    -d grant_type=refresh_token \
    -d refresh_token=<REFRESH_TOKEN> \
    -d client_id=<APP_KEY> \
    -d client_secret=<APP_SECRET>

I get this error: user for app is not enabled.

I can't find information about this error anywhere in the documentation or somewhere else on the Internet.

Please help me. What are the possible causes of this error and how could I troubleshoot it? Thanks.

1 Reply 1

Greg-DB
Dropbox Staff

That error for this call indicates that this failed because the account that owns the app for that refresh token/app key/app secret is disabled. When an account is disabled, any apps owned by the account are also effectively disabled.

 

You'll need to instead get and use a refresh token/app key/app secret for an active app owned by an active account.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?