Requesting Hub matches with high offset returns HTTP 500



I’m currently going over one of our hub’s match history to sum up stats and any requests beyond 2300 is returning 500s.

curl -X GET "" -H "accept: application/json" -H "Authorization: Bearer $API_KEY"

EDIT: Wrong Hub id, edited.



Replicated with hubId 3c265612-dd2a-4d1f-8cf4-c8a6c1d92472, offset 1800, limit 50


Looking at unofficial APIs, it complains about running out of memory in some mongodb instance due to sorting, also suggesting to add an index. I forgot which API I hit to get that result.