Hello everyone,
It seems like we've encountered a bug. When attempting to call the LoginWithServerCustomId API with the ShowDisplayName parameter (doc), it doesn't return the expected result. However, when I utilize the GetPlayerProfile parameter, the display name is returned correctly.
Here is my request
curl --location 'https://{
{titleId}}.playfabapi.com/server/LoginWithServerCustomId?sdk=PostmanCollection-0.175.230306' \
--header 'X-PlayFabSDK: PostmanCollection-0.175.230306' \
--header 'Content-Type: application/json' \
--header 'X-SecretKey: {
{secret key}}' \
--data '{
"ServerCustomId": "whatever_name",
"CreateAccount": false,
"InfoRequestParameters": {
"GetPlayerProfile": true,
"ProfileConstraints": {
"ShowDisplayName": true
}
}
}'
Response: