Management of errors
Please note that this list is not exhaustive. If in doubt, feel free to reach out to support.
API return codes
On success, API calls return 200 (OK) or 201 (Created).
On error, API calls return a 4XX code, including:
- 401 (Unauthorized): Authentication is missing or invalid
- 403 (Forbidden): Operation not allowed
- 400 (Bad Request): Malformed request
The API returns a JSON object containing a message that can be used for debugging purposes.
Specific error messages
en already present in data to certify
error 400: <code language> already present in data to certify
This error indicates that there are multiple occurrences of the language code "en" associated with the same technical data.