HypixelDev / PublicAPI

Official Java implementation of the Hypixel Public API.
https://api.hypixel.net
MIT License
533 stars 152 forks source link

Objects not of type String found in "achievementsOneTime" #659

Closed stuffyerface closed 2 months ago

stuffyerface commented 2 months ago

via the player endpoint (/v2/player), users data may contain objects of the incorrect type, specifically, achievementsOneTime field should be of type String[] (only containing strings), but it can contain arrays?

Found in the following cases uuid: 386258427e6a4b4980ac32d12df89791 image

ConnorLinfoot commented 2 months ago

I have removed the array from this user. Still, it's worth being aware that data provided via endpoints such as the player data endpoint are from the database, and we cannot guarantee the types of objects contained within.