Send proper error event if we did not get 200OK from HTTP response.