cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Regarding Your app is not authorized to use this endpoint.

Regarding Your app is not authorized to use this endpoint.

rushabhmadhu
New member | Level 2

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 1

Greg-DB
Dropbox Staff

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].

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?