You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

1575475's avatar
1575475
Explorer | Level 3
7 months ago

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

  • Здравко's avatar
    Здравко
    Legendary | 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.

    • 1575475's avatar
      1575475
      Explorer | 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

       

       

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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!