Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
For some reason, the following code has stopped working as it used to. The .search() method now returns an empty list. This code has been working without any problems and alterations for months, serving hundreds of users. The file "myfile.txt" is always present inside the folder, but the .search() method cannot find it anymore. Is this due to API v1 Core API deprecation? It should continue to work until 6/28/2017. How can I solve this? Thank you!
List<Entry> searchforDatabaseResults = new ArrayList<Entry>(); searchforDatabaseResults = mApi.search("/", "myfile.txt", 0, false); if (searchforDatabaseResults.size()!= 0) { //... }
[Cross-linking for reference: https://www.dropboxforum.com/t5/API-support/Android-Core-API-search-returns-empty-list/m-p/196715#M9... ]
Thanks for the report! This is a known issue, and not due to the deprecation. We're looking into it.
Please, fix this. I'm receiving a lot of complaints because this function is very important. Thank you!
Hi there!
If you need more help you can view your support options (expected response time for a 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!