We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

codeAndchill's avatar
codeAndchill
New member | Level 2
11 days ago

Permission files.metadata.read seems ineffective

Hey,

i have some trouble with the permissions. My goal is to see the content of a folder. The error is:

{ "error": { ".tag": "missing_scope", "required_scope": "files.metadata.read" }, "error_summary": "missing_scope/" }

When I activate this scope and click submit, the error persists.

Thank you!

3 Replies

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 days ago

    Hi codeAndchill​ 

    A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens or refresh tokens.

    That being the case, to make any API calls that require that scope, you'll need to re-authorize the app to get a new access token (and refresh token, if being used) with that scope.

    Refer to the OAuth Guide and authorization documentation for more information.

  • codeAndchill's avatar
    codeAndchill
    New member | Level 2
    8 days ago

    Hey,

    thank you for the answer. Unfortunately, the error still persists. 

    I have tested to upload a file. I have activated all Scopes. Reauthorized my app and tried to upload a file. Same error.

    I went with the "Whole Dropbox" option when creating my app.

  • iNeil's avatar
    iNeil
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 days ago

    Hi codeAndchill​,

    Once you’ve enabled the new scopes for your API app, you’ll need to re-authorize the app to generate a new access token for those scopes. Are you using the new access token from reauthorizing the API app?

    If you're still experiencing difficulties, please provide the exact steps you've taken to reproduce the issue but do not include any access or refresh tokens. Please note that you can use the Dropbox API Explorer to quickly test the Dropbox API with your access token.

    If you are referring to the access type "Full Dropbox" for the API app, this will give full access to all the files and folders in a user's Dropbox. The access type for the API app shouldn't cause a missing_scope error message.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 2 hours ago
409 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!