api icon indicating copy to clipboard operation
api copied to clipboard

Character Stat returning negative value

Open mikechambers opened this issue 3 years ago • 0 comments

API call: https://www.bungie.net/Platform/Destiny2/3/Profile/4611686018475222724/?components=100,200

Note that stats "144602215" (Intelligence) is -2;

The docs specify that the value is signed: https://bungie-net.github.io/multi/schema_Destiny-Entities-Characters-DestinyCharacterComponent.html#schema_Destiny-Entities-Characters-DestinyCharacterComponent

But this is the first time I've ever seen a negative number (exposed a bug in my code), so Im logging it in case its a bug (here or somewhere else).

Ive posted the JSON response here: https://pastebin.com/c2aK4rj5

in case the data changes in the API call.

mikechambers avatar Aug 02 '22 07:08 mikechambers