cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python files_search - Inconsistent returns

Python files_search - Inconsistent returns

Everton Reis
New member | Level 2

Hi I have a folder with the following files:

 

EvertonReis_0-1635951319326.png

 

When I do the following search:

 

EvertonReis_1-1635951428287.png

It finds just the file with modification date of 2021-10-28. If I keep running the same query, eventually it returns:

 

EvertonReis_2-1635951595820.png

 

In this results we have both files.

 

If I keep doing the same query, the results will keep changing. It is not related with recent changes in the file, because this same problem was happening with a file that was modified more than 24h ago. In this example, it has passed 2h since last update in the file.

 

Can you assist on this?

 

 

3 Replies 3

Greg-DB
Dropbox Staff

Thanks for the report. Can you try switching to files_search_v2/files_search_continue_v2 and let me know if you do or don't see the issue with that as well?

Everton Reis
New member | Level 2

Hi Greg,

 

I still observe the same behaviour using the files_search_v2:

 

EvertonReis_0-1635956021829.png

Note: Here the result is 3 or 4 because it finds some files that are in a "Backup" folder, while we specified the folder "RESEARCH" in the first example with `files_search`.

I believe I don't need to use the `files_search_continue_v2` as I have few search results.

 

Some additional data:

 

dropbox Version: 11.22.0

Windows 10 Pro Version: 10.0.18362.0

Python version: 3.7.7

 

 

 

Greg-DB
Dropbox Staff

Thanks for checking that! We'll look into it.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Everton Reis New member | Level 2
What do Dropbox user levels mean?