Errors
In case of errors in the Freja eID API or IDkollen API the status code of the response will be 4xx or 5xx.
Errors with status code 400 is expected during normal operation.
More information or an error code can be found in the message
property.
HTTP/2.0 400 Bad Request
{
"message": "Error message"
}
Message | Description |
---|---|
User with the specified userInfo does not exist in Freja eID database | End user doesn't have Freja eID. |
Authentication request failed. Previous authentication request was rejected due to security reasons | Occurs when several requests are pushed to Freja eID in a row with the same pno. |
Besides status code 400, the following status codes can occur:
Status code | Description |
---|---|
404 | The resource does not exist. Either it does not exist or it has expired |
405 | Wrong method used (ex GET instead of POST) |
500 | Internal server error (critical, should not occur during normal operation) |
503 | Server not responding (critical, should not occur during normal operation) |