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
developerscorpio
2 years agoExplorer | Level 3
Team access token
Getting error "This token is not associated with a team" when trying to access team data using User access token. Can you please help to find out how we can create access token for Team?
developerscorpio From your description, it sounds like you have a user-linked access token, but are trying to access a team-linked endpoint. Team-linked endpoints require a team-linked access token, in order to operate on the team itself.
To get a team-linked access token, you would need to connect the app with the relevant team scopes enabled. You can find more information on how to use the authorization functionality in the OAuth Guide and authorization documentation.
Note that only team admins can connect team-linked apps. If you are not on a team, you will not be able to use team scopes/endpoints.
- ЗдравкоLegendary | Level 20
Hi developerscorpio,
There is "Dropbox-API-Select-User" header that has to be used with appropriate team member id. For supported SDKs, if you have used, there are corresponding methods where the same id can be passed to.
Hope this helps.
- Greg-DBDropbox Staff
developerscorpio From your description, it sounds like you have a user-linked access token, but are trying to access a team-linked endpoint. Team-linked endpoints require a team-linked access token, in order to operate on the team itself.
To get a team-linked access token, you would need to connect the app with the relevant team scopes enabled. You can find more information on how to use the authorization functionality in the OAuth Guide and authorization documentation.
Note that only team admins can connect team-linked apps. If you are not on a team, you will not be able to use team scopes/endpoints.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,896 PostsLatest Activity: 15 hours 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!