We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Nathan P.9
10 years agoNew member | Level 1
Python files_search return empty?
Not sure what's happening but I'm working on a little python tool to look up a file by name in a given dropbox. I can do a files_list_folder fine and see the results:
dbx.files_list_folder('') Lis...
Nathan P.9
10 years agoNew member | Level 1
I tried again this morning and I am finally seeing some results. Is there any metric on the standard lag for search results?
I had loaded files then waited about 30 minutes without any search results coming back but list files worked fine. This also kind of begs the question... why the difference in behavior between list and search? Aren't they roughly equivalent styles of operations?
files_search(", "Foo") seems like it should be the same as if I did
files_list_folder(") filtered with "Foo" in metadata.name
Although that may be dependent on your backend infrastructure but from an API standpoint they both look like hierarchy walkers but react/operate very differently.
About 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!