Passer au contenu

Get error list

Requête

Returns the human-readable description of an error code in the requested language.

Note: requires Content-Type: application/json header.

Sécurité
basicAuth and sslCertificate
Requête
codeinteger, (int32)obligatoire

The error code to look up.

Exemple:code=1027
languagestringobligatoire

Language for the error text. Use ISO 639-1 alpha-2 codes: EN (English), IT (Italian), DE (German), ES (Spanish), RO (Romanian). ISO 639-2 alpha-3 codes (ENG, ITA, DEU, SPA, RON) are accepted for legacy compatibility but will not be extended to new languages.

Enum:"EN""ENG""IT""ITA""DE""DEU""ES""SPA""RO""RON"
Exemple:language=EN
curl -i -X GET \
  -u '<username>:<password>' \
  'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/errors?code=1027&language=EN'

Réponses

Error description returned.

If the error code does not exist, errorText is "Unspecified error".

Corpsapplication/json
errorCodeinteger, (int32)

The error code.

Exemple:1027
errorLanguagestring

ISO 639-2 alpha-3 language code of the response.

Exemple:"ENG"
errorLanguage2string

ISO 639-1 alpha-2 language code of the response.

Exemple:"EN"
errorTextstring

Human-readable description of the error in the requested language. Returns "Unspecified error" if the error code does not exist.

Exemple:"The file is duplicated"
Réponse
{ "errorCode": 1027, "errorLanguage": "ENG", "errorLanguage2": "EN", "errorText": "The file is duplicated" }