This topic contains 0 replies, has 1 voice, and was last updated by  ebeltran1981 10 months ago.

HttpClient pipe catchError is not working as expected

  • ebeltran1981

    Posts: 6
    Member Reply #19620

    In the AuthenticationService service, the Login function is not working as expected. My API is returning a 401 error for the login function. The handlerError function is being called, but not with the error message from the Angular HttpClient. I need your help fixing this… Is there some kind of interceptor not letting the error from the server to bubble up?

You must be logged in to reply to this topic.