You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

ol_minhkhau's avatar
ol_minhkhau
New member | Level 2
7 months ago

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

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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,885 PostsLatest Activity: 14 hours ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!