Codes and messages
This page describes status codes, information and error messages for all etinglysing SOAP services.
Http status codes for etinglysing soap web service
HTTP Status code | Meaning |
---|---|
Successful request and response. (200 OK) For the | |
Authentication failed. (401 Unauthorized) Occurs if username/password is wrong/deactivated or the authentication token (bearer) is invalid or expired. | |
Soap fault response. (500 Internal Server Error) The response body contain a SOAP Fault message. The fault message includes a description of the the specific error condition. More information soap fault. |
Successful request and response(200)
Successful request and response means that the operation was successful. For an explanation about the responses for the various operations in the api, see the description of the operation.
For the generate<TYPE>
(Generate document) operations, note that even if the response is a successful one, it might contain information messages(INFOMELDING) that may be important later in the process.
If the information messages are not taken into account, it may affect the tinglysing operation.
See the errorGroup explanation for information about INFOMELDING.
Soap fault response(500)
Description of soap fault elements. See examples
Element | Description |
---|---|
faultcode | Values:
|
faultstring | Human readable error message. Note, if the soap fault response contain more that one |
detail | Contains detailed error information structured as documentMessages provided |
FellesDokumentException | Exception wrapper |
exceptionId | A timestamp that identifies the error message. Important for solving support cases. |
documentMessages | A wrapper that contains at least one |
documentMessage/detail | Detail message |
documentMessage/errorGroup | errorGroup tells you what category of error messages this is and it should decide further action. Correct the request data or simply try again. See table for explanation |
documentMessage/message | Short message |
documentMessage/errorCode | Error code number, identifying the message |
ErrorGroup explanation
ErrorGroup | Explanation | Action | Corresponding REST API status code |
---|---|---|---|
INTERNFEIL | Internal error - There is a state in data, environment or configuration that we couldn't recover from. | Try again. Another server might handle this request. If the problem persists contact support | 500 - INTERNAL SERVER ERROR |
VALIDERINGSFEIL | Validation error - the request does not validate. These are business / professional / legal reasons why the request did not validate. Validation rules for this error involves verifying request data with grunnboken. In the last validation rule, we actually validates the complete document using Statens Kartverk validation service. Example | Verify and correct the data in the request.
| 400 - BAD REQUEST |
EKSTERNFEIL | External error - This means that one of the external services we depend on to complete the request does not respond or is faulty. | Try again later. The external services we use are seldom faulty for a longer period. | 500 - INTERNAL SERVER ERROR |
UKJENT_FEIL | Unknown error - A flaw in the code or it may also be that the server which processed the request had a problem | Please try again, if the problem persists contact support | 500 - INTERNAL SERVER ERROR |
INPUTFEIL | Bad request - The xml message validates, but data in the message does not meet requirements.
| Verify and correct the data in the request. | 400 - BAD REQUEST |
Information message - No error, just information. |
| 200 - OK, unless there are other error categories in the same response. |