question

Kim Strasser avatar image
Kim Strasser asked

Which Email adresses are allowed when a player creates a new account?

What is the maximum length of an Email address when the player creates a new account with PlayFabClientAPI.RegisterPlayFabUser?

Which characters are allowed? What happens if a player uses not allowed characters?

What happens if a player tries to create a second account with the same Email address that he already used when he did the registration of his first account?

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

>>What is the maximum length of an Email address

According to my test, the maximum length of an email address would be 255. If exceeded, you will get the error message in the callback: "Email must be less than 255 characters."

>> Which characters are allowed? What happens if a player uses not allowed characters?

General email format is allowed. If an invalid character is used, you will get the error message in the callback: "Email address is not valid."

>>What happens if a player tries to create a second account with the same Email address?

When player tries to create account with duplicate email address, you will receive the error message in the callback: "Email address already exists. "

In a word, you may track the error callback of your API to determine the following steps of client side logic.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.