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
Douglas16
8 years agoExplorer | Level 4
Using token with API v2.
Hello guys, I learning about API v2, I was read the API commands and testing, so in my first commad teste I have a trouble, I try type the command: curl -X POST https://api.dropboxapi.com/2/files...
- 8 years ago
1. I'm not sure what part of my message are you referring to when you say "admins team", as I didn't use that exact term, but a Dropbox for Business team is a paid level of Dropbox service built for businesses. Some members of these teams are designated as "admins" and have additional abilities that other members don't.
2. Yes, using a Dropbox API (not Business) app you can generate a token for your own account. It sounds like you're not on a Business team or trying to use Business functionality, so you should use a normal Dropbox API app.
Greg-DB
8 years agoDropbox Staff
In order to make an API call like /2/files/copy, you do need an access token, and to get an access token, you do need to register an app. (The app registration defines what kind of access the resulting access tokens enable.) There's no harm in registering an app though. You can rename or delete it later if you want.
The first error you got indicates that the token you're passing (in your case the string "null") is invalid.
The second error you got indicates that you registered a Dropbox Business API app, which can only be linked by Dropbox Business team admins. If you're on a Business team and need to be an admin, you'll need to request that change from an existing admin.
If you don't need Dropbox Business API functionality though (e.g., /2/files/copy isn't only Business functionality) you can register a Dropbox API app, as opposed to a Dropbox Business API app, here:
- Douglas168 years agoExplorer | Level 4
hmmm, ok I understood in parts...
1 - what is exaclyt the dropbox business "admins team" ?
2 - So, if I create an Dropxbox API instead a Dropbox Business API I can generate a token without any problem?
Thanks for your time,friend!
- Greg-DB8 years agoDropbox Staff
1. I'm not sure what part of my message are you referring to when you say "admins team", as I didn't use that exact term, but a Dropbox for Business team is a paid level of Dropbox service built for businesses. Some members of these teams are designated as "admins" and have additional abilities that other members don't.
2. Yes, using a Dropbox API (not Business) app you can generate a token for your own account. It sounds like you're not on a Business team or trying to use Business functionality, so you should use a normal Dropbox API app.
- Douglas168 years agoExplorer | Level 4
Thanks for your time dude!
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!