Error Reference
A comprehensive guide to common errors in Nile Auth and how to resolve them.Authentication Errors
Authentication errors are errors that occur when a user attempts to authenticate with Nile Auth and something goes wrong. In order to get the most information about the error, we recommend: Implement error handlers when using Nile Auth components: All errors caused by user input are returned as200
, so you need to handle them in the onSuccess
callback by checking if res.ok
is false
.
The error itself will be in the res.text()
property. You can choose to display the error to the user, or silently handle it and log to the console.
Check the component guides for examples.
Enable debug mode when instantiating Nile Server SDK:
This will log everything that happens in the Nile Auth SDK, including detailed error messages.
400
errors in your server logs.