We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
1575475
2 years agoExplorer | Level 3
Unable to fetch metadata of shared folder
Hi,
after creating a shared folder via endpoint
https://api.dropboxapi.com/2/files/create_folder_v2
a folder id in the form "id:xxxxxxxxxxxxxxx" is returned.
When trying to fetch the metadata of this particular folder later on using the endpoint
https://api.dropboxapi.com/2/sharing/get_folder_metadata
and that very id, I receive an error response that the id is invalid.
The documentation/example of above endpoint has been updated recently, now using folder ids in the form "0000000" (numeric only).
So, how can I access the metadata of a folder having an id in the form of "id:xxxxxxxxxxxxxxx"?
Thank you very much in advance.
Best,
Jan
4 Replies
Replies have been turned off for this discussion
- Здравко2 years agoLegendary | Level 20
Hi 1575475,
You're mixing different things. File/folder id is NOT the same as shared folder id!. 🙂 That's where your confusion comes from. Even more - in such a way you have created regular folder, not shared folder. 😉
Hope this clarifies matter.
- 15754752 years agoExplorer | Level 3
Hi Здравко,
Thank you, that's exactly what I was assuming. But anyway, how can I fetch the metadata of an "ordinary" folder (using an Id such as "id:xxxxxxxxxxxx")?
Best regards,
Jan
- Здравко2 years agoLegendary | Level 20
- 15754752 years agoExplorer | Level 3
Hi Здравко,
many, many kudos to you!
I didn't get that the endpoint you mentioned works with ids, too ( not only the path).
Best regards,
Jan
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
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 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!