You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the request timeout is set, and it expires, the cancellation is handled by the client so it sets the correct response status to ResponseStatus.TimedOut. However, the HttpClient timeout produces an exception, which is not handled by AddError, so the request gets the status ResponseStatus.Error.
The solution is to change the AddError function to handle the HttpClient timeout exception, and set the response status properly.