Error conditions

BWG_E_BANK_BRANCH_CODE_FORMAT

Code 1
Message Bank-branch code format is incorrect.
This error is used by countries which have a single combined bank-branch code, such as sort code in the United Kingdom and the Republic of Ireland, or BLZ in Germany. You only get this error if you have a full licence.
The code contains the wrong number of digits or non-numeric characters (other than spaces or hyphens).
In the United Kingdom and the Republic of Ireland, the message is "Sort code format is incorrect" and the the synonym BWI_CC_SORT_CODE_FORMAT is used.
Action Correct the bank-branch code or reject the details.

BWI_E_TABLE_MISSING + country

Code 1 + country number
Message The Database Table File for country n cannot be found or loaded.
The DTF for a country cannot be loaded during initialisation. This condition is not fatal since other countries can still be initialised. If no country can be initialised or the file cannot be opened after initialisation, fatal conditions occur instead.
To determine if this condition is present, test for a condition code within a range as shown:

BWIGetValue(h,BWI_V_NEXT,value)

if(value BWI_E_TABLE_MISSING value BWI_E_TABLE_MISSING + BWI_C_MAX) {

country_id = value - BWI_E_TABLE_MISSING

...process missing DTF for 'country_id'

}

Action Check the location of the DTFs and if the file is missing, update the DTFs to reinstall the missing file.

BWG_E_BANK_CODE_FORMAT

Code 2
Message Bank code format is incorrect.
This error is used by countries which have both a bank code and branch code or countries where only the bank details are validated.
Action Correct the bank code or reject the details.

BWG_E_BRANCH_CODE_FORMAT

Code 3
Message Branch code format is incorrect.
This error is used by countries which have both a bank code and branch code.
You cannot get this error when performing an institution check.
Action Correct the branch code or reject the details.

BWG_E_ACCOUNT_NO_FORMAT

Code Action
Message Account number format is incorrect.
This error is used by all countries. If the Account Number could be transposed, you get warning 1 (BWG_W_TRANSPOSED) instead of this error.
You cannot get this error when performing branch or institution checks.
4 Correct the account number or reject the details.

BWG_E_CD_FORMAT

Code 5
Message Check digit format is incorrect.
This error is used by countries which have a separate check digit.
For most countries, you cannot get this error when performing branch or institution checks.
For some countries, such as Spain, which have multi digit check digits, you can get this error when performing a branch check. This is because only part of the check digit validates the branch or bank details. Therefore when checking the branch, if the full check digit is entered, the format is incorrect and this error will be returned.
Action Correct the check digit or reject the details.

BWG_E_NO_BRANCH

Code 6
Message Bank or branch code is not in use.
The bank-branch code format is correct but it is not allocated to an existing branch. This error is used by countries where the bank-branch code can be mapped to a specific branch, for example, sort code in the United Kingdom or the Republic of Ireland.
You can only get this error if you have a full licence.
You cannot get this error when performing an institution check.

In some countries, such as the UK, the synonym BWI_CC_NO_BRANCH is used.

Action Correct the bank-branch code or reject the details.

BWG_E_MODULUS_CHECK

Code 7
Message Modulus check has failed.
This is used by any country that performs a modulus check on the whole bank code / account number combination.
Although the formats of the supplied fields are correct, one or more of them are incorrect.
You can only get this error if you have a full licence.
You cannot get this error when performing branch or institution checks.
Action Correct the account details or reject the details.

BWG_E_MODULUS_CHECK_BANK_CODE

Code 8
Message Modulus check on bank code has failed.
This applies to countries such as Spain where there is a separate modulus check on the bank code. Although the formats of the supplied fields are correct, one or more of them are incorrect.
You can only get this error if you have a full licence.
You cannot get this error when performing branch or institution checks.
Action Correct the bank code or reject the details.

BWG_E_MODULUS_CHECK_ACCOUNT_NO

Code 9
Message Modulus check on account number has failed.
This applies to countries such as Spain where there is a separate modulus check on the account number. Although the formats of the account details and check digits are correct, the modulus check on the account number failed. Therefore one or both of the account number and check digits are incorrect.
You cannot get this error when performing branch or institution checks.
Action Correct the account number or check digits or reject the details.

BWG_E_NO_INSTITUTION

Code 10
Message Bank code is not in use.
The format of the bank code is correct but it is not allocated to an existing institution.
You can only get this error if you have a full licence.
You only get this error when performing institution checks.
Action Correct the bank code or reject the details.

BWG_E_BRANCH_CLOSED

Code 11
Message Branch has been closed.
Used when the branch has closed and there is no redirected branch.
You cannot get this if you have the modulus check licence because the existence of the branch is not checked for.
In the United Kingdom and the Republic of Ireland, the message is "Sort code has been closed" and the synonym BWI_CC_SORT_CLOSED is used.
Action Contact the branch concerned or reject the details.

BWG_E_BRANCH_TRANSFERRED

Code 12
Message Branch has been transferred.
This branch has been closed and the accounts have been redirected to another branch. To get the branch code for the new branch, call BWIGetString passing BWI_CC_REDIR_SC.
You cannot get this if you have the modulus check licence because the existence of the branch is not checked for.
In the United Kingdom and the Republic of Ireland, the message is "Sort code has been transferred" and the synonym BWI_CC_SORT_TRANSFERRED is used.
Action Contact the branch concerned or reject the details.

BWG_E_BANK_CLOSED

Code 13
Message Bank has been closed.
You will not get this error if the bank has been transferred.
Action Contact the bank concerned or reject the details.

BWG_E_BANK_TRANSFERRED

Code 14
Message Bank has been transferred.
The bank has been closed and the accounts have been redirected to another bank.
Action Contact the bank concerned or reject the details.

BWG_E_IBAN_FORMAT

Code 15
Message IBAN country format is incorrect.
The IBAN has the correct basic format but does not have the correct format for an IBAN from the current country.
Action Correct the IBAN or reject the details.

BWG_E_IBAN_INVALID

Code 16
Message IBAN is invalid.
The IBAN does not have the correct format of 2 letters followed by 2 digits followed by a series of alphanumeric characters.
Action Correct the IBAN or reject the details.

BWG_E_IBAN_MODULUS

Code 17
Message IBAN modulus check has failed.
The IBAN has the correct format but it fails the modulus check and is therefore invalid.
Action Correct the IBAN or reject the details.

BWG_E_ACCOUNT_TYPE_FORMAT

Code 18
Message Account type format is incorrect.
Action Correct the account type or reject the details.

BWG_E_IDENTIFICATION_FORMAT

Code 19
Message Identification number format is incorrect.
Action Correct the identification number or reject the details.

BWG_E_BIC_FORMAT

Code 20
Message BIC format is incorrect.
A BIC must be 8 or 11 characters long. The first 6 characters must be alphabetic and the remaining characters can be alphanumeric.
Action Correct the BIC or reject the details.

BWG_E_BIC_INVALID

Code 21
Message Invalid BIC.
This error is returned when Bank Wizard has BIC information for a branch and the supplied BIC does match any of the known BICs for that branch.
Action Correct the BIC or reject the details.

BWG_E_IBAN_NOT_SUPPORTED

Code 22
Message Country does not support IBANs.
This error is returned when you submit an IBAN validation request to Bank Wizard for a country that does not support IBANs.
Action Correct the IBAN or reject the details. It is probably the country code in the IBAN that is incorrect.

BWI_E_EXLIC + country

Code 300 + country number
Message The licence key for country n has expired.
You can get this error during initialisation.
If the licence has expired for every country, you get a fatal condition. To determine if this condition is present, test for a condition code within a range as shown:

BWIGetValue(h,BWI_V_NEXT,value)

if(value BWI_E_EXLIC value BWI_E_EXLIC + BWI_C_MAX) {

country_id = value - BWI_E_EXLIC

... process expired licence for 'country_id'

}

Action Contact Experian for a new licence key.