Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

MogensBrun's avatar
MogensBrun
New member | Level 2
2 months ago

File ID is not unique

I have several instances, where File ID is not unique in my Dropbox account. Below is two sets of metadata including  “id”, “name”, “path_display”, “size”, “rev”, “content_hash”, “server_modified” from two different files. Filenames, paths and file sizes are different, but the first field with file id is the same. The metadata is extracted with a python script. I can send the script if needed.

How can different files have identical file Ids in same account? It makes file movements and downloads based on file ID a risky action.


id:hHMoQrtHqVAAAAAAAAB3ig
Credenza assembly R2.stp
/FORM 3D Archive/frattini/in progress/cb2, frattini, fall 2022/Office/Credenza/Drawings/Credenza assembly R2.stp
975538
015eca3c02fec960000000280bb3010
63e26b666254d76318fb0328b5999d992017c65fc2a0696b0cbf4e38d0daf832
04/11/2022 11.55.31

id:hHMoQrtHqVAAAAAAAAB3Ig
Room Divider Assembly R1.stp
/FORM 3D Archive/frattini/in progress/cb2, frattini, spring 2023/grid construction room divider/Drawings/Room Divider Assembly R1.stp
893028
5d6e306a534f872420641
1d9d0ed10006c9d47e259bed31d6968ce0c3f2e0ad1a6c52dc9401e94ee4c367
31/01/2022 16.10.40

  • MogensBrun qpo is correct; file IDs are case sensitive, and in some instances such as this, may vary only by case. So, make sure you're you're always preserving the case when storing these values, and using case-sensitive comparisons when comparing them.

  • qpo's avatar
    qpo
    New member | Level 1

    Short answer, but it may help: IDs are case-sensitive. See "i" and "I" before the last "g" in your example

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

    MogensBrun qpo is correct; file IDs are case sensitive, and in some instances such as this, may vary only by case. So, make sure you're you're always preserving the case when storing these values, and using case-sensitive comparisons when comparing them.