Below we list the expected errors in the BAI APIs response:
API | Error | Code | MESSAGE TO BOOKKEEPING PARTY | Reason (detail) | Solution/Action |
---|---|---|---|---|---|
ALL | Not found | 404 | Account not found or consent user does not have the correct authorization | Account does not exist anymore or customer that has given consent does not have access to the account anymore | Request a new consent for the account(s) |
ALL | Not found | 404 | Consent user does not exist anymore | Customer that has given consent does not exist anymore | Request a new consent for the account(s) |
Balance | Unauthorized | 401 | Consent user not authorized to view the balance | Customer does not have the authorization to view balance in Rabo Internet Banking or Rabo Business Banking | Request to give the user that signed the consent access to the balance information of the account in RIB/RBB |
Transactions | Unauthorized | 401 | Consent user not authorized to view the transactions | Customer does not have authorization to view transactions in Rabo Internet Banking or Rabo Business Banking | Request to give the user that signed the consent access to the transaction information of the account in RIB/RBB |
Transactions | Unauthorized | 401 | Consent user has no authorization for the requested period |
| Request a new consent for the account(s) |
ALL | Bad request | 400 | Invalid accountId |
| Correct the request details or request the user to sign a new consent |
ALL | Bad request | 400 | Given accountid does not belong to the consent | This accountId does not match with the consent that is connected to the access token | Send a request to the accounts endpoint in order to retrieve the correct accountid(s) belonging to the consent |