Closed jporcenaluk closed 2 days ago
Describe the bug files_search_v2 returns the same content_hash in the FileMetadata for each file even though they have different file sizes.
files_search_v2
content_hash
FileMetadata
To Reproduce
import dropbox from dropbox.files import SearchOptions fun_path = "path_to_folder_in_dropbox" fun_token = "dropbox_token" dbx = dropbox.Dropbox(fun_token) all_files = dbx.files_search_v2( query=".", options=SearchOptions(path=fun_path) ).matches metadata = [{"hash": entry.metadata.get_metadata().content_hash, "size": entry.metadata.get_metadata().size } for entry in files_a] metadata
Expected Behavior
Actual Behavior
Screenshots
Versions
Thanks for the report! We're investigating this API issue. I'll follow up here once I have an update.
This should be fixed now. Thanks again for the report!
Describe the bug
files_search_v2
returns the samecontent_hash
in theFileMetadata
for each file even though they have different file sizes.To Reproduce
files_search_v2
function to return a list of filesExpected Behavior
Actual Behavior
Screenshots
Versions