Whenever a user that is logged in and has a session id wants to view their info the following error pops up.
PlayFabClientApi.js:219 Uncaught errorLoggedIn ExecuteRequestWrapper @ PlayFabClientApi.js:219 GetPlayerProfile @ PlayFabClientApi.js:409 Stats @ stats.js:31 onclick @ stats.html:17
Im pretty sure that im using the sdk correctly though. My code is below.
PlayFabClientSDK.GetPlayerProfile(GetPlayerProfileRequest, xauth, (response, error) => { if(error) { OutputError(error); } else { // display account details var result = response.data; var status = result.PlayerProfile.Created; OutputStatus(status); } });