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

Everton Reis's avatar
Everton Reis
New member | Level 2
4 years ago

Python files_search - Inconsistent returns

Hi I have a folder with the following files:

 

 

When I do the following search:

 

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

 

 

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?

 

 

    • Everton Reis's avatar
      Everton Reis
      New member | Level 2

      Hi Greg,

       

      I still observe the same behaviour using the files_search_v2:

       

      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's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

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

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
334 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!