Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
What reasons could a FileMetadata be returned without a file id?
Right now, just due to various technical details on the backend, we can't guarantee that every single file will have an ID, though it should be very rare for a file not to have one. We'll be working on improving this though towards the goal of making this guaranteed.
Is there a plan to have file id's (when they are all populated) as part of the getDelta() API?
Joel, the equivalent of `/delta` in v1 is `/files/list_folder` in v2, which does already include file IDs.
Thanks for the quick response.
I presume that means a Java wrapper call for that is forthcoming?
Yes, I think I recall seeing a bug earlier today that it's currently not exposed in the Java SDK. It's certainly supposed to be in there.
Specifically, I think the missing overload is the one that allows you to pass recursive=true. If you're doing a non-recursive call, listFolder in the v2 Java SDK should already give you back file IDs.
Is there still a chance that a file/folder retrieved through the API will not have an id?
The id field has been changed to required, so every FileMetadata/FolderMetadata object will have it now.
That's perfect, thank's for the fast reply. I don't suppose there's any way to get the file id for a DeletedMetadata object as well?
Hi there!
If you need more help you can view your support options (expected response time for a 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!