Error Codes

Error codes

Errors encountered specifically during the OAuth authorization flows will be returned in accordance with section 4.1.2.1 of OAuth 2.0 Authorization Protocol. In particular, the 'error' parameter indicates the overall type of error.

Further details about the error can be found in the error_description parameter.

If the error_description string begins with "base64UrlEnc-" , e.g.

error_description=base64UrlEnc-eyAiRGVzY3JpcHRpb24iOiJUbyBsb2cgaW4sIHlvdSBtdXN0IGJlIGEgY2xpZW50IG9mIFN5ZGJhbmsgYW5kIGhhdmUgYSB2YWxpZCBOZXRiYW5rIGFncmVlbWVudC4gUGxlYXNlIGNvbnRhY3QgSG90IExpbmUgYXQgKCs0NSkgeHggeHggeHggeHggb3IgeW91ciByZWxhdGlvbnNoaXAgbWFuYWdlci4iLCAiRGlzcGxheWVkIjoidHJ1ZSIsICJDb2RlIjoiQ1VSX0FHUjAyMSIgfQ%3D%3D 

then the remainder of the string can be URL- and base64 decoded (notice for example that '%3D' in the string above is a URL-encoding and has to be converted back into a '=' sign before the full string can be base64-decoded). The decoded error description will reveal a JSON struct on the form:

{ "Description":"To log in, you must be a client of Sydbank and have a valid Netbank agreement. Please contact Hot Line at (+45) xx xx xx xx or your relationship manager.", "Displayed":"true", "Code":"CUR_AGR021" }

Where the

  • 'Description' text (intended for the PSU), in this case indicating that the PSU is not a client in the specific bank
  • 'Displayed' field indicates, if the value is true, that this error message has already been displayed to the PSU in a dialog; otherwise, the TPP client application should show an appropriate error message
  • 'Code' is an error id that specifies the type of error (see below)

The error ids that may be returned in 'Code' can be found in the table below together with their description (subject to dynamically inserted texts for bank names, hot line numbers and error correlation ids.) The error correlation ids (on the form "error code xxxxxxxx"), when present, will be useful for the support to locate and analyze the specific error scenario in server logs.
 

Error Code Description
CUR_ERR021 A technical error has occurred.
CUR_ERR022 A technical error has occurred (error code {0}).
CUR_ERR023 An error has occurred in the system. Please try later or contact Hot Line at {{bank}.hotline}. Report error code L001.
CUR_ERR024 A technical error has occurred (error code {0}, error description: {error_description}).
CUR_CAN021 Login cancelled.
CUR_AGR021 To log in, you must be a client of {{bank}.name} and have a valid Netbank agreement. Please contact Hot Line at {{bank}.hotline} or your relationship manager.
CUR_AGR022 Your registration has not been received and therefore you cannot log in. Please contact Hot Line at {{bank}.hotline}.
CUR_LOCK21 We are sorry, but you cannot log in as your access has been blocked. Please contact Hot Line at {{bank}.hotline} or your relationship manager.
CUR_APP003 A technical error has occurred. Please contact NemID support.
CUR_APP007 A technical error has occurred. Contact {{bank}.name}.
CUR_APP008 A technical error has occurred. Contact {{bank}.name}.
CUR_AUTH01 Your NemID is blocked. Please contact NemID support.
CUR_AUTH03 You do not have a Netbank agreement so you cannot log on to {{bank}.name}''s Netbank with this NemID.
CUR_AUTH04 Your NemID has been blocked for 8 hours due to too many attempts to enter code. Please contact Hot Line at {{bank}.hotline}.
CUR_AUTH05 Your NemID has been blocked. Please contact NemID support.
CUR_AUTH06 You do not have any more keys on your codecard. For help go to nemid.nu or contact Hot Line at {{bank}.hotline}.
CUR_AUTH07 Your NemID has been revoked. Contact Hot Line at {{bank}.hotline}.
CUR_AUTH08 Your NemID has not been activated. For help go to nemid.nu or contact Hot Line at {{bank}.hotline}.
CUR_AUTH09 Your NemID has been revoked. Contact Hot Line at {{bank}.hotline}.
CUR_AUTH11 NemID login on mobile does not support authentication using a temporary password. Please contact NemID support to have a new temporary password issued. Thereafter, please log on NemID.
CUR_AUTH20 Unable to login with 1-factor, please try with 2-factor login
CUR_BRE001 There is a problem with recognizing NemID Agreement.
CUR_CAN001 Your activation has not been completed, as you have earlier chosen to cancel the activation of your NemID. Try again or contact Hot Line at {{bank}.hotline}.
CUR_CAN002 You have cancelled login.
CUR_CAPP04 Your code app is suspended or revoked. Please try and update your code app.
CUR_ERR001 DanID Error.
CUR_LOCK00 Your NemID has been blocked, as a wrong password has been entered too many times. Please contact Hotline at {{bank}.hotline}.
CUR_LOCK01 Your NemID has been blocked for 8 hours, as a wrong password has been entered too many times. Please contact Hotline at {{bank}.hotline}.
CUR_LOCK02 Your NemID has been revoked, as a wrong password has been entered too many times. Contact Hotline at {{bank}.hotline}.
CUR_LOCK03 Your NemID has been blocked, as a wrong NemID key has been entered too many times. Please contact Hotline at {{bank}.hotline}.
CUR_SRV001 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV002 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV003 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV004 A technical error has occurred. Please contact NemID support.
CUR_SRV005 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV007 Please update to the most recent version.
CUR_SRV008 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV010 A technical error has occurred. Contact {{bank}.name}.
CUR_SRV011 A technical error has occurred. Contact {{bank}.name}.