Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

bungieGlobalDisplayName and bungieGlobalDisplayNameCode not populated from GetLinkedProfiles #1511

Closed bhollis closed 3 years ago

bhollis commented 3 years ago

I'm using GetLinkedProfiles (with platform BungieNext and getAllMemberships: true) to retrieve all of the profiles linked with my Bungie.net membership ID (7094), and the one active platform I have (my cross play account) does not have either bungieGlobalDisplayName nor bungieGlobalDisplayNameCode populated. Each of the profilesWithErrors for platforms I don't use (Xbox, Stadia, Steam) do have those properties.

Full response:

{
  "Response": {
    "profiles": [
      {
        "dateLastPlayed": "2021-08-28T00:50:08Z",
        "isOverridden": false,
        "isCrossSavePrimary": true,
        "platformSilver": {
          "platformSilver": {
            "TigerPsn": {
              "itemHash": 3147280338,
              "quantity": 400,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 2689798306,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            },
            "TigerXbox": {
              "itemHash": 3147280338,
              "quantity": 0,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 2689798307,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            },
            "TigerBlizzard": {
              "itemHash": 3147280338,
              "quantity": 0,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 2689798316,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            },
            "TigerStadia": {
              "itemHash": 3147280338,
              "quantity": 0,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 2689798317,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            },
            "TigerSteam": {
              "itemHash": 3147280338,
              "quantity": 0,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 130233231,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            },
            "BungieNext": {
              "itemHash": 3147280338,
              "quantity": 0,
              "bindStatus": 0,
              "location": 1,
              "bucketHash": 130233230,
              "transferStatus": 2,
              "lockable": false,
              "state": 0,
              "dismantlePermission": 0,
              "isWrapper": false
            }
          }
        },
        "crossSaveOverride": 2,
        "applicableMembershipTypes": [
          1,
          3,
          5,
          2
        ],
        "isPublic": false,
        "membershipType": 2,
        "membershipId": "4611686018433092312",
        "displayName": "VidBoi-BMC"
      }
    ],
    "bnetMembership": {
      "supplementalDisplayName": "VidBoi-BMC#9226",
      "iconPath": "/img/profile/avatars/cc25.jpg",
      "crossSaveOverride": 0,
      "isPublic": false,
      "membershipType": 254,
      "membershipId": "7094",
      "displayName": "VidBoi-BMC"
    },
    "profilesWithErrors": [
      {
        "errorCode": 1601,
        "infoCard": {
          "crossSaveOverride": 2,
          "applicableMembershipTypes": [],
          "isPublic": true,
          "membershipType": 1,
          "membershipId": "4611686018429726245",
          "displayName": "Vid Boi",
          "bungieGlobalDisplayName": "VidBoi-BMC",
          "bungieGlobalDisplayNameCode": 9226
        }
      },
      {
        "errorCode": 1601,
        "infoCard": {
          "crossSaveOverride": 2,
          "applicableMembershipTypes": [],
          "isPublic": true,
          "membershipType": 3,
          "membershipId": "4611686018509956320",
          "displayName": "VidBoi",
          "bungieGlobalDisplayName": "VidBoi-BMC",
          "bungieGlobalDisplayNameCode": 9226
        }
      },
      {
        "errorCode": 1601,
        "infoCard": {
          "crossSaveOverride": 2,
          "applicableMembershipTypes": [],
          "isPublic": true,
          "membershipType": 5,
          "membershipId": "4611686018509956086",
          "displayName": "vidboi#6166",
          "bungieGlobalDisplayName": "VidBoi-BMC",
          "bungieGlobalDisplayNameCode": 9226
        }
      }
    ]
  },
  "ErrorCode": 1,
  "ThrottleSeconds": 0,
  "ErrorStatus": "Success",
  "Message": "Ok",
  "MessageData": {
  }
}
Achronos-BNG commented 3 years ago

I believe this has been recently fixed.