Discussions

Ask a Question
Back to all

Detailed validation for name

We have successfully integrated with your API, but some users report problems with registering.

In our system name is optional, and it is required in your api. So when user did not fill in the name, we send user's first part of email also as name:
name: damian.styczen
email: [email protected]

and it most cases this works. But sometimes it fails on "Name contains invalid characters". My question is what exact characters are invalid for registering a user?

We can sanitize the name before sending to avoid this error, but we need to know which characters to remove/replace.