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
TimO1968
6 years agoExplorer | Level 4
Problem using published business api endpoint
When trying to create a shared folder with the API, I get the following message:
Your API app is not allowed to call this function.
The endpoint:
https://api.dropboxapi.com/2/team/team_folder/create
Full command:
curl -X POST https://api.dropboxapi.com/2/team/team_folder/create \ --header "Authorization: Bearer <my access token>" \ --header "Content-Type: application/json" \ --data "{\"name\": \"TIMTEST\"}"
TimO1968 This error message indicates that you are calling this endpoint using an API app with a permission that doesn't have access to this particular endpoint.
In this case, you are calling /2/team/team_folder/create, which requires the use of an access token for an app registered for the "team member file access" permission. If you call with an access token for an app with the "team member management" permission instead, for instance, you'll get this error message. You can find more information on the different Dropbox Business API permissions here.
If you need to use the /2/team/team_folder/create endpoint, you should instead register a Dropbox Business API app with the "team member file access" permission and get and use an access token for that.
- Greg-DBDropbox Staff
TimO1968 This error message indicates that you are calling this endpoint using an API app with a permission that doesn't have access to this particular endpoint.
In this case, you are calling /2/team/team_folder/create, which requires the use of an access token for an app registered for the "team member file access" permission. If you call with an access token for an app with the "team member management" permission instead, for instance, you'll get this error message. You can find more information on the different Dropbox Business API permissions here.
If you need to use the /2/team/team_folder/create endpoint, you should instead register a Dropbox Business API app with the "team member file access" permission and get and use an access token for that.
- Pikamander2Experienced | Level 13
Are you able to perform any other actions with the API?
And just to check the obvious, did you replace the <my access token> with your actual access token?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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!