Hello,
I am trying to get the Player Profile and other data from the PlayFabClient.GetPlayerCombinedInfo API call, using node.js.
Even do the API call return a code 200, and some data, it seems like empty or i not able to acces the point values i need like ContactEmailAddress, Created, Email Verify, etc.... I am reading for days the documentation, but dont understand if i have to specify something else on the request or in the response model.
this is the response i am getting when i do console.log (response.data)
console.log('Player Profile loaded succefull !' + JSON.stringify(result)) console.log('Player Profile loaded succefull !' + JSON.stringify(result.data.InfoResultPayload.AccountInfo)) console.log(result.InfoResultPayload) console.log('Player Profile loaded succefull !' + result.data.PlayerProfile.VerificationStatus)
result from the logs:
Player Profile loaded succefull !{"code":200,"status":"OK","data":{"PlayFabId":"2200B74B070BFF62","InfoResultPayload":{"UserInventory":[],"UserDataVersion":0,"UserReadOnlyDataVersion":0,"CharacterInventories":[],"PlayerProfile":{"PublisherId":"C54D2F5AB729B0B3","TitleId":"5241F","PlayerId":"2200B74B070BFF62"}}}}
but there is not the info i need.
The Request i make is like this:
getPlayerProfile(){ var profileRequest = { InfoRequestParameters: { GetPlayerProfile: true, // i would add more request after i can get it working... } } PlayFabClient.GetPlayerCombinedInfo(profileRequest, GetProfileCallback); }
can anyone please enlight me with this issue ?