When I am searching this API range 500-999, I get good results.
If I search 999 - 1010, I get good results.
If I search 1000-1100, I get 502 Bad Gateway nginx.
Similar results with average SAT scores... some ranges work fine, while others do not.
How to fix or work around the problem?