We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
rushabhmadhu
6 years agoNew member | Level 2
Regarding Your app is not authorized to use this endpoint.
Hello,
I am working on Dropbox API using below link HTTP API
https://www.dropbox.com/developers/documentation/http/documentation
We have created App and I would like to test File get, file list count and file put operation in Dropbox Account of User Once User give his/her authorization using O Auth-2,
We are redirecting user to authorize and that return us code and based on that I am getting access token by using HTTP Method(CURL Call)
After getting token I am calling API to get files count but getting below error
Error in call to API function "file_requests/count": Your app is not authorized to use this endpoint.
1 Reply
- Greg-DB6 years ago
Dropbox Community Moderator
This error message indicates that your app does not have the required scope for accessing that endpoint. For /2/file_requests/count, the required scope is "file_requests.read".
Also, note that the /2/file_requests/count endpoint is for getting the count of "file requests", not actual files. The Dropbox API doesn't offer a way to just retrieve the total number of files in an account, but you can list and count them using /2/files/list_folder[/continue].
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!