Auth0 Home Blog Docs

Payload validation error

error
validation
payload
schema

#1

I just created a new client, followed the instruction on using lock and the normal auth system yet when I sign in I and get back

Payload validation error: 'None of the valid schemas were met'

The annoying thing is it makes a user for me and when I sign in an get rejected, it still shows up as a succesful log in on my dashboard.

I am using the code supplied to me from the auth0 website and I am getting this error. How do I fix it?


#2

From previous occurrences of this error, it usually happens when the request isn’t sending the HTTP header Content-Type: application/json correctly. Could you try that and confirm if that fixes the issue for you?

Previous instance of this error:
https://community.auth0.com/questions/3823/payload-validation-error-when-sending-auth0-update


#3