Trying to call PlayFabSDK.LoginWithCustomID but getting a response with error code 2
Full Response below:
{ code: 503, status: 'Service Unavailable', error: 'Connection error', errorCode: 2, errorMessage: '', CallBackTimeMS: 58, Request: { TitleId: [the correct id], CustomId: [the correct guid], CreateAccount: false }, CustomData: undefined }
Using JavaScript, code below:
G.authRequest = {}; G.authRequest.TitleId = PlayFab.settings.titleId; G.authRequest.CustomId = G.GUID; if (G.newUser) G.authRequest.CreateAccount = true; else G.authRequest.CreateAccount = false; PlayFabClientSDK.LoginWithCustomID(G.authRequest, (response, error) => { if (error) { console.error(error) } else { var result = response.data; G.player.id = result.PlayFabId; } }