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

SandeepCNT's avatar
SandeepCNT
Explorer | Level 3
2 years ago

Inconsistent Content Hash Values from Dropbox Endpoints

Hello,

I hope you're all doing well. I've come across an issue while working with the Dropbox API, specifically related to content hash values, and I'd like to seek your insights on this matter.

  1. List Folder and Thumbnail Batch Endpoints: When using the "List Folder" and "Thumbnail Batch" endpoints, I observed that the content hash value returned for a specific file remains consistent. This behavior is as expected and aligns with the file's content.

  2. Search V2 Endpoint: However, when I use the "Search V2" endpoint to search for the same file, the content hash value it returns is different from what I obtained through the "List Folder" and "Thumbnail Batch" endpoints. Furthermore, it appears that all files' content hash values retrieved from the "Search V2" endpoint are the same.

These discrepancies are causing some challenges in maintaining data consistency within my application. I'm wondering if there might be any insights or explanations for this behavior. Specifically:

  • Why does the "Search V2" endpoint return different content hash values for the same file compared to the "List Folder" and "Thumbnail Batch" endpoints?
  • Is there any specific reason or logic behind the content hash values returned by the "Search V2" endpoint being the same for different files?

I'd appreciate any guidance or information that could help me better understand and work with these discrepancies. Thank you for your assistance!

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

    Thanks for the post. This looks like an issue on our side. We'll look into it and I'll follow up here with any updates.

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

      This should be fixed now. Thanks again for the report!