Check response error codes