UnauthorizedException()

Thrown when a client is not authorized to access the requested resource. For example, user is trying to log in using invalid credentials.