Hello,
For our Unity project we are porting to Switch, whenever we try to login using LoginWithNintendoSwitchDeviceId, we get the following response:
/Client/LoginWithNintendoSwitchDeviceId PlayFabError(ServiceUnavailable, Cannot resolve destination host, 400 BadRequest)
I've not been able to figure out a way to debug this error. As far as I can tell, there shouldn't be any reason that the host unreachable (no firewall or internet network settings, internet/wifi settings are configured on the devkit, etc). The title id is also configured in the PlayFab settings file. My guess might be that this is an authentication issue due to us missing some step in configuring everything, but the error code/message doesn't actually indicate that.
Here is the code we are using to login. Does anyone have any ideas on what we could try next to debug this issue? We're running up against the clock unfortunately, which means we may have to resort to shipping without leaderboards on Switch.
nn.account.NetworkServiceAccountId networkAccountId = GetNetworkId(Switch_FsSaveData.UserHandle); string internalID = networkAccountId.ToString(); var request = new LoginWithNintendoSwitchDeviceIdRequest { NintendoSwitchDeviceId = internalID, CreateAccount = true, }; Log("Logging in with userid: " + internalID); PlayFabClientAPI.LoginWithNintendoSwitchDeviceId(request, OnLoginSucc, OnLoginErr);