add error with invalid HTTP response status