Fuyukai/OWAPI

IndexError('list index out of range',)

chrisderwahre opened this issue · 3 comments

Issue

Request returns index error

Links that cause the issue

https://owapi.net/api/v3/u/Dad-12262/blob

^ returns this index error:

{"exc": "IndexError('list index out of range',)", "msg": "please report this!", "error": 500}

screenshot_91

Greetings, Chris.

I have had this issue as well, but something interesting that I found was that pulling /stats doesn't seem to have this issue occur. I also ended up testing this with all the other endpoints as well (/blob, /achievements, and /heroes), and it appears that they all continue to have this issue however. But for some reason, /stats still appears to work just fine. Hopefully this helps!

-Shane

I swear I copied the code that fixes this to all the other endpoints...

Fixed by 49cd4e6