Mainly, for wrong credentials or if the request to the back-end fails.
Mainly, for wrong credentials or if the request to the back-end fails.