The httpresponse from Auth0 sends an inconsistent response json.
In the case of user already registered for example i receive a 400 bad request.
And the content is in this format:
However in the case of badly formatted email address i receive a 400 bad request
but the content is in this format:
That seams counter-intuitive and i cannot de-serialize the information into an object as i don’t know which one it will be, as both a 400 responses.
Is this intentional? and is there a list of possible content formats for the different not successful status codes? as it stands it appears a bit of a guessing game at how the error will be reported to me.