Errors
In case of errors in the BankID API or IDkollen API the status code of the response will be 4xx or 5xx.
info
The most common error, alreadyInProgress
, occurs when a user initiates an authentication if there already is
an ongoing authentication. In these cases both authentication requests will be cancelled.
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": "alreadyInProgress"
}
Message | Description |
---|---|
alreadyInProgress | An authentication request is already in progress |
invalidParameters | Wrong personal number or an orderRef that is no longer valid |
startFailed | Failed to start user BankID authentication |
For more information, please refer to the BankID Relying Party Guidelines.
Besides status code 400, the following status codes can occur:
Status code | Description |
---|---|
404 | Wrong URL or wrong parameters in the address |
405 | Wrong metod 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) |