Translations:API:FAQ/14/en

An error response from the API will set the $mwapierror HTTP header and return an $error. For an example error response, see $url. See also the documentation about errors and warnings.