Got a confusing situation here. TitleId is hidden.
In Postman the request works, and I have created "postman_user". However, running the code in Godot (C#) I receive
"
Something went wrong with your first API call. :(
Here's some debug information:
Error: TrustFailure (Authentication failed, see inner exception.)
"
public override async void _Ready() { PlayFabSettings.staticSettings.TitleId = "*****"; await LoginToPlayFab(); } private async Task LoginToPlayFab() { var request = new LoginWithCustomIDRequest { CustomId = "godot_user", CreateAccount = true }; var loginTask = await PlayFabClientAPI.LoginWithCustomIDAsync(request); OnLoginComplete(loginTask); } private void OnLoginComplete(PlayFabResult<LoginResult> taskResult) { var apiError = taskResult.Error; var apiResult = taskResult.Result; if (apiError != null) { GD.Print("Something went wrong with your first API call. :("); GD.Print("Here's some debug information:"); GD.Print(PlayFabUtil.GenerateErrorReport(apiError)); } else if (apiResult != null) { GD.Print("Congratulations, you made your first successful API call!"); } }
I have also tried setting the TitleId in the LoginWithCustomIDRequest with no success.
Can anyone help?