Common errors and their solutions in Nile Auth
200
, 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.