Closed tybug closed 5 years ago
Sorry, I think I royally messed up here, I've definitely encountered issues with the response before but this isn't related to that. Empty responses are totally valid and I was dealing with them incorrectly. Apologies for the false issue.
https://osu.ppy.sh/users/13312577 a valid user (by the name of Nightfreak1997), but the get_user endpoint returns an empty response.
https://osu.ppy.sh/api/get_user_best?k=KEY&u=13312577
gives a simple[]
as the json. I've had this issue break my scripts many times before - python json decoding doesn't play nice with empty responses - but never caught it in action or logged enough information to report it before. Hopefully this doesn't magically resolve itself in the time the issue is up.