One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
jlibe
7 years agoExplorer | Level 3
Calling ListFolder with id
Hi Team,
I try to list folder with the following path format :
id:XXXXXXXXXX
It returns the following unless the folder does exist (I get the id from a previous list folder call, witch gives me subfolder list)...
Call details :
curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header 'Authorization: Bearer xxxxxxxxxxxxxxxx' \ --header 'Content-Type: application/json' \ --data '{"path":"id:xxxxxxxxx"}'
Reponse :
{ "error_summary": "path/not_found/...", "error": { ".tag": "path", "path": { ".tag": "not_found" } } }
Can you help me on this issue please ?
Joris
- Greg-DB
Dropbox Staff
I'm not sure I understand your question. What behavior do you want in this case? Do you want to be able to list the (deleted) contents of the deleted folder?
If the folder does not exist (e.g., it was deleted), attempting to access it is supposed to fail with a 'path/not_found' indicating that it doesn't exist.- jlibeExplorer | Level 3
Hi Greg,
Thanks for your answer.
Actually the folder DOES exist. It is not deleted or else...
I just want to list its content with "id method", but it doesn't work for me.
Anyone can help me ?
- Greg-DB
Dropbox Staff
Can you let me know how you're checking that the folder for this ID is not deleted?
If you supply the ID itself, that may be helpful. You can open an API ticket if you'd prefer to share the details privately:
https://www.dropbox.com/developers/contact
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 23 hours ago
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 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!