Tietoevry is renewing Lifecare Open APIs. End of support is May 1, 2024. Information about new API solution is found at this location: https://apitest.weno.no/docs
Errors detected and handled by the web server (or any other infrastructure) before the request is passed on to the API service, will usually result in an HTML error page. This can happen if:
If an error occurs during a request, the following fields will be returned in the response body:
Name | Description | Type |
---|---|---|
Status | integer | |
Code | string | |
Message | string | |
CorrelationId | string |
We use the following HTTP status codes:
We use the following error codes:
Http status | Message | Solution |
---|---|---|
403 | The application is not enabled for the runtime context: xxx | The service owner must enable the api for the given runtime context. (In Lifecare Control Center) |
403 | Feature not enabled. Feature ID: EC_NO_Integration_API | The service owner must configure the api to have status enabled. (In Lifecare Control Center) |
403 | No client certificate | Either the server is not configured to ask for a client certificate, or the client is not providing a client certificate. |
403 | Client certificate is not authorized | The service owner must add the thumbprint of the client certificate (or an intermediate) in the list of trusted client certificates for the runtime context. (In Lifecare control center) |
403 | Invalid argument: key. Ambiguous API key, ... | The key argument is provided in more than one place in the request. |
403 | Required argument: key. You must define the API key | The key argument is not provided |
403 | The API key is invalid | The key argument contains an error. It should be copied verbatim. Error in urlencoding? |
403 | The API key is expired | Get a new key from the service owner. |
403 | The API key is not authorized for this domain. | The key not valid for the given domain (sent in as domain argument) |
403 | The API key is not authorized for: xxx | The key is not valid for the given API call. Get a new key from the service owner with proper authorizations. |