cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Team access token

Team access token

developerscorpio
Explorer | Level 3

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?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox 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.

View solution in original post

2 Replies 2

Здравко
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-DB
Dropbox 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.

Need more support?