cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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:Ā 

Team access token

Team access token

developerscorpio
Explorer | Level 3
Go to solution

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
Go to solution

@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
Go to solution

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
Go to solution

@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?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Š—Š“рŠ°Š²ŠŗŠ¾ Legendary | Level 20
What do Dropbox user levels mean?