Requesting Hub matches with high offset returns HTTP 500


#1

Hello,

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 "https://open.faceit.com/data/v4/hubs/b23dd05f-5876-454c-9a48-4e35e105ebd8/matches?type=past&offset=2320&limit=20" -H "accept: application/json" -H "Authorization: Bearer $API_KEY"

EDIT: Wrong Hub id, edited.

Thanks


#2

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


#3

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.