cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

Re: Unable to fetch metadata of shared folder

Unable to fetch metadata of shared folder

1575475
Explorer | Level 3

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

1 Accepted Solution

Accepted Solutions
4 Replies 4

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

 

 

@1575475, take a look here.

Hope this helps.

1575475
Explorer | 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

 

 

Need more support?