Wix Users API Error Handling

Hi,

When you try to register with an email which has been already registered the error returned is a 500 as you see in the screenshot below

Can this be handled more gracefully? Can the API atleast return an array with a error code and proper string error message instead of ’ Cannot read property ‘member’ of null

Something like ’ Email already registered ’ will be much better.

1 Like