cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Android Core API .search() returns empty list

Android Core API .search() returns empty list

cherry1
Explorer | Level 4
Go to solution

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) {
//...
}

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
This should be fixed now. Let us know if you're still seeing any issues.

View solution in original post

5 Replies 5

Greg-DB
Dropbox Staff
Go to solution

[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.

cherry1
Explorer | Level 4
Go to solution

Please, fix this. I'm receiving a lot of complaints because this function is very important. Thank you!

Greg-DB
Dropbox Staff
Go to solution
We're working on a fix. I'll follow up here once it's out.

Greg-DB
Dropbox Staff
Go to solution
This should be fixed now. Let us know if you're still seeing any issues.

l p.7
New member | Level 2
Go to solution
 
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    l p.7 New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    cherry1 Explorer | Level 4
What do Dropbox user levels mean?