Page 1 of 1

[Mod Web API] API crashes when accessing certain pages

Posted: Wed Mar 25, 2020 3:28 am
by blacksfk
You can (unintentionally) crash your mod API by going to roughly the middle page of JSON results. Or at least throw 500 errors.
Examples:
  1. page_size = 500, page = 5
  2. page_size = 1000, page = 3
  3. page_size = 125, page = 20
Navigating to pages before and after the "middle" seem to return results just fine. Seems to me as though you have some sort of mod parsing error or similar? Sorry if this is the wrong place, not sure where else to put it.

Re: [Mod Web API] API crashes when accessing certain pages

Posted: Fri Mar 27, 2020 5:11 pm
by Sanqui
Yeah, there was a mod with corrupted data, it's been fixed now. Thank you for the details!