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

denistca's avatar
denistca
New member | Level 2
4 years ago

You must be a team administrator to perform this operation.

Hi, 
I'm trying to create an app:  Full Dropbox – Access to all files and folders in a user's Dropbox.
When I set permissions files.content.read, files.permanent_delete I cannot generate the access token.
Getting error: You must be a team administrator to perform this operation.

When I do genereate tha access token first and then set the permissions, I'm getting the error from API: 
{"error_summary": "missing_scope/.", "error": {".tag": "missing_scope", "required_scope": "files.metadata.read"}}

Is there a way to create an full dropbox app with read, delete files permission which will work?
Thanks

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, if you need to be able to read and delete files, you can register a Full Dropbox app with the "files.content.read" and "files.content.write" scopes. The "files.content.write" scope lets you both write and delete files.

     

    The "files.permanent_delete" scope is only needed for permanently deleting files, not just deleting files. You can see which scope is required for each endpoint in the API documentation. That "files.permanent_delete" scope is only available as a team scope though, so you would need to be a team admin to authorize it if you need it.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 23 hours ago
333 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!