Forum Discussion

Kuki's avatar
Kuki
Explorer | Level 4
5 years ago

Dropbox API showing the two files same ID

Hi,

We are using the Dropbox API to list files /folders (https://api.dropboxapi.com/2/files/list_folder)
I have a find a issue is two files having same ID ..could you please tell us how it is possible? Can any two files have same ID's..
We are listing around 1000 files and in those I found two files have same ID..

Please look into this issue and let us know.

Please see the screen shot attached  with showing the file with same ID

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Please note that file IDs are case sensitive, and can vary only be case, so you should always use case-sensitive comparisons.

     

    In the sample you shared here, the file IDs are different by case. The second to last characters use different cases.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 19 hours ago
352 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!