Forum Discussion

Everton Reis's avatar
Everton Reis
New member | Level 2
5 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?

 

 

3 Replies

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

    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 Community Moderator rankDropbox Community Moderator
    5 years ago

    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.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!