[API Bug Report] Modern Gravity LB has a 'null' name entry

When requesting /v0/game/all/grav using the X-Hive-Api-Version header, the legacy and modern versions return different leaderboard entries.

The legacy version returns the top 100 players normally, but when using the modern version, there’s an entry at position #9 with the username "null" and UUID 8fad028c-014e-368d-af20-a2f2858433ea. This entry has a considerable amount of stats, including 38,547 games played and 38,452 victories, but it doesn’t appear anywhere in the legacy leaderboard response. Its presence also pushes Craxyf down from #9 to #10.

I tried looking up this player using the other relevant API endpoints, including /v0/game/all/{game}/{identifier} and /v0/game/all/main/{identifier}. Using "null" as the identifier didn’t return a valid response. Using the UUID did return some general profile stats, but no game-specific stats.

I’m not sure what caused this, but it seems like a player whose stats were wiped (possibly due to a ban) might still be lingering in the modern leaderboard, with their username showing up as "null".

1 Like

Nice one, also wery technical!