Hi,
I successfully able to login using playfab, but when i try to get the photon authentication token using the PlayFabClientAPI.GetPhotonAuthenticationToken() method. I get the Error InvalidAPIEndpoint.
Hi,
I successfully able to login using playfab, but when i try to get the photon authentication token using the PlayFabClientAPI.GetPhotonAuthenticationToken() method. I get the Error InvalidAPIEndpoint.
The only time you should get the InvalidAPIEndpoint response is when there's a mismatch between the API endpoint, which follow the format "{ {TitleId}}.playfabapi.com", and the Session Ticket or Secret Key being used.
Looking in our logs, I see that you had several successful calls to GetPhotonAuthenticationToken on your Title ID earlier today. Have you already resolved this? If not, can you send the specific call being made, along with the Session Ticket, to devrel@playfab.com?
Hi,
Thank you for the fast reply. It seem that in the PlayFabSetting.cs, I change the ProductionEnvironmentUrl variable to "{ {TitleId}}.playfabapi.com" which i should not do.
Correct - ProductionEnvironmentUrl doesn't need to be changed. It should remain ".playfabapi.com". Just set your Title ID in the TitleId variable in PlayFabSettings, and you'll be good to go.
No one has followed this question yet.