Api: Destiny2.GetHistoricalStatsForAccount returns weird data

Created on 23 Oct 2017  路  5Comments  路  Source: Bungie-net/api

This query: curl -H "X-API-Key: REDACTED" "https://www.bungie.net/Platform/Destiny2/2/Account/4611686018459911023/Stats/"
returns this Response: https://gist.github.com/maciek134/cdde294eab5b1156ef3028986d37d21c (not posting directly since it's long).
Deleted character is completely wrong (24,547 kills in PvP), but others seem inflated too (total of 6082 PvP kills while DTR shows 2690). I'm comparing with this: http://destinytracker.com/d2/profile/psn/klh_js and before it was broken the numbers matched exactly.
Destiny2.GetHistoricalStats is unaffected and my current workaround since it shows correct data even for deleted characters.

bug investigation

Most helpful comment

I found the root cause and have a fix ready.

All 5 comments

Sweet, thanks for splitting it off! We'll give it a peek.

I found the root cause and have a fix ready.

Is there an ETA for the fix? Thanks!

Thursday

This is fixed in production now.

Was this page helpful?
0 / 5 - 0 ratings