I’m trying to access match events for match ID “ed0c327a-ba9d-4cee-9c29-2b9bee2bb14f” and some of the events seem to have blank gamertags. Anyone else having similar issues? Is this supposed to be happening?
Here’s an example of some of the json:
> {
> “Player”:{
> “Gamertag”:"",
> “Xuid”:null
> },
> “ShotsFired”:0,
> “ShotsLanded”:0,
> “TimeWeaponActiveAsPrimary”:“P0DT0H0M4.6000S”,
> “WeaponAttachmentIds”:[
> 1095363701
> ],
> “WeaponStockId”:313138863,
> “EventName”:“WeaponDrop”,
> “TimeSinceStart”:“PT7M23.078835S”
> }
> {
> “Player”:{
> “Gamertag”:"",
> “Xuid”:null
> },
> “WeaponAttachmentIds”:[
> 1095363701
> ],
> “WeaponStockId”:313138863,
> “EventName”:“WeaponPickup”,
> “TimeSinceStart”:“PT6M24.8994644S”
> }
Hi KillCow! Thanks for reporting this, and thanks for the clear and succinct description! It looks like there was a transient issue where that player’s Gamertag wasn’t available. If you re-request the game now, you’ll see that it’s filled in. In particular, here are the two events you reported with the Gamertag filled in:
> {
> “Player”: {
> “Gamertag”: “Real Gs Tidolaf”,
> “Xuid”: null
> },
> “ShotsFired”: 0,
> “ShotsLanded”: 0,
> “TimeWeaponActiveAsPrimary”: “P0DT0H0M4.6000S”,
> “WeaponAttachmentIds”: [1095363701],
> “WeaponStockId”: 313138863,
> “EventName”: “WeaponDrop”,
> “TimeSinceStart”: “PT7M23.078835S”
> }
> {
> “Player”: {
> “Gamertag”: “Real Gs Tidolaf”,
> “Xuid”: null
> },
> “WeaponAttachmentIds”: [1095363701],
> “WeaponStockId”: 313138863,
> “EventName”: “WeaponPickup”,
> “TimeSinceStart”: “PT6M24.8994644S”
> }
Regardless of the Gamertag being available now, this is a bug in our API and we’re sorry for the confusion this caused you and others.
Currently, the API follows the behavior that it will return an empty string if the Gamertag was transiently unavailable. This behavior is misleading, as you pointed out. Furthermore, it’s inconsistent with the Post-Game Carnage Report endpoints, which return an HTTP 503 if a Gamertag was unavailable. We’ll work on a fix to this internally and let you know when it’s deployed.
Again, sorry for the confusion this caused, and thanks for bringing this to our attention!
Thanks Respected Sir. Just FYI, I believe this might be happening with the other events as well, these were just the two types I noticed immediately.