Fixed an issue with handling error responses.