Auth0 Home Blog Docs

Got undocumented "invalid_grant" error code when calling Authentication API with invalid password

Hi there,

We’re calling Auth0 authentication API from our server to get access token for a given user. We use resource owner password to get token( https://auth0.com/docs/api/authentication#resource-owner-password) and we got interesting error “invalid_grant” when we put invalid password for password POST parameter.
But this error is not listed common error code page https://auth0.com/docs/libraries/error-messages and we would expect to get “invalid_password” instead of “invalid_grant” here. Do we have true official document to describe error code of Authentication API?