Publisert - 05.03.2026

Error handling

In case the service sees too high load then the request might be rate limited and the client will in that case receive a response with status code 429 and empty body.

Otherwise a response with the header nhn-error-code (error codes below) will be returned together with a JSON body equivalent to the example below and a status code in the range 4xx-5xx.

Note that specific details about the error can be found in the errorMessage field in the response body.

{
    "errorCode": "CS-0002",
    "errorMessage": "Missing or invalid path parameter: codingSystemType",
    "eventId": "856c6047-9815-4460-aa6d-2bf98e56e12c",
    "applicationVersion": "f7732df7",
    "environment": "test",
    "serviceName": "codingsystems"
}
Error code Cause
CS-0001 Internal technical errors
CS-0002 Client sent invalid input
CS-0003 A security related error
AUTH-0003 Invalid http header
AUTH-0010 A security related error

Søk i Utviklerportalen

Søket er fullført!