Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
vin212
5 years agoExplorer | Level 3
How use the API on c++ aplication
Hello,
i code on QTCreator, i would like create an application for make a link between my deposit and the client. My question is, how i can use the API (or other solution) for creat the link betwe...
vin212
5 years agoExplorer | Level 3
thank you for your answer, in my app, i could be use CURL for this.
But, i don't understand how we use the API. For test , i launch on my CMD this command :
curl -X POST https://api.dropboxapi.com/2/file_requests/count --header "Authorization: Bearer <oauth2_access_token>"
and is don't work i have this error message :
Error in call to API function "file_requests/count": The given OAuth 2 access token is malformed.
And for finish i don't understand how i acces on my deposit by the API
Greg-DB
Dropbox Community Moderator
5 years agoThe "<oauth2_access_token>" there is just a placeholder, and should be replaced with the actual OAuth 2 access token for the account. From the error message, it sounds like you're sending an invalid value for that (either the placeholder itself, or an invalid access token string). You should check what you're actually sending and correct it so that you're sending the valid OAuth 2 access token. You can find more information on how this process works in the OAuth Guide and authorization documentation.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!