Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
gauravsc
8 years agoExplorer | Level 3
Empty response from /2/file_requests/list
I am trying dropbox api. When i tried to list using
https://api.dropboxapi.com/2/file_requests/list
i get empty response like
{
"file_requests": [ ]
}
I tried using api explorer and postman. I verified that there are files in account. The app i am testing has full access. How do i get list of files using http api?
Hey gauravsc,
It looks like you're using the "file_requests/list" endpoint - which will list any File Requests (a Dropbox feature that allows for content ingestion) but not any actual files.
The endpoint you're going to want to hit is files/list_folder:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folderGive that one a try - good luck!
-Chuck
1 Reply
- chirstius8 years ago
Dropbox Staff
Hey gauravsc,
It looks like you're using the "file_requests/list" endpoint - which will list any File Requests (a Dropbox feature that allows for content ingestion) but not any actual files.
The endpoint you're going to want to hit is files/list_folder:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folderGive that one a try - good luck!
-Chuck
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!