We have detected a problem using your API. Concretely we are trying to search all files inside a folder using the paginated “Search” method (https://api.box.com/2.0/search).
The problem is that when we reach the number of 10000 files, the API fails and returns a “Bad Request” error. Your documentation doesn’t indicate anything about a limit regarding number of files, only that the pagination parameters a maximum of 200 results at a time.
Attached you can find some screenshots to illustrate the problem:
1. From 9800 to 10000.
2. From 10000 to 10200.
3. From 9801 to 10001. Here we have a more descriptive error:
Furthermore, we’ve detected other bug with this Search method regarding the query parameter. It looks like when using spaces between characters it allows a max number of characters in the filter. That’s why we added in the filter the “%” characters as you can see in the previous screenshots. We realized that doing the query like that it works. Please, see the example below to better understanding:
1. Filtering files containing a, b, c, d or e:
2. Adding character f to the query:
In the next screenshot you can see that the error is happening in your web application too.
Hope you can solve this as soon as possible. These errors are blocking our document management application.
Thanks in advance.