When calling LinkGameCenterAccount, instead of http 200, i get http 400, along with the playfab error:
LinkGameCenterAccount error code 400 pfaberror AccountAlreadyLinked message User already linked to a different account
When calling LinkGameCenterAccount, instead of http 200, i get http 400, along with the playfab error:
LinkGameCenterAccount error code 400 pfaberror AccountAlreadyLinked message User already linked to a different account
That error indicates that the Game Center account in question is already linked to a different PlayFab account. You can force-update the link to the newer PlayFab account via the ForceLink option, which will remove the link to the previous account.
The 4xx range of HTTP errors are specifically for cases where the client has an error in the request, so that the service can respond with the specifics of what was wrong with the request. In this case, we respond with "Bad Request", and specify that the request isn't valid because the account is already linked to another PlayFab account (and so, cannot be linked to the new one). A 200 would indicate a success, which isn't what happened.
I think it is a valid request, however it cannot be completed due to logical issues. I checked the definition for http 400: "The HTTP 400 Bad Request response status code indicates that the server could not understand the request due to invalid syntax."
2 People are following this question.