I need to validate the 401 which is an authorization error, but need to display an alert, this is my code but I don\'t know how to send this to the front.
}).