# Hosted Pages status messages

Error and status reporting from the Hosted Pages are consistent with the codes listed in [Payment initiation status](../../sip/sip-v1/sip-v1-considerations#payment-initiation-status) (payments v1) and [Payment status](../../sip/sip-v2/sip-v2-considerations#payment-status) (payments v2). However, in the case of the Token.io Hosted Pages, payment status includes both the status code and the bank-transmitted message text, *e.g.*, 'NSF', 'canceled by user', 'Account Closed', *etc*.

### Invalid bank ID error messages

When Hosted Pages are invoked and a bank ID is not supported, the following error messages are sent to the TPP:

| Message | Explanation |
|  --- | --- |
| `Selected payment scheme: ABC is not supported by XYZ Bank.` | The selected bank does not support the payment rail specified in the payment request. |
| `Merchant DEF has restricted the permission to access XYZ Bank.` | Access to the pre-selected bank has been restricted by the TPP. |
| `Merchant DEF is not set up to connect to XYZ Bank.` | The pre-seclected bank has not been configured by the TPP. |
| `Bank ID: XYZ is invalid.` | The selected bank may be down. |



```json
{
    "error": "access_denied",
    "message": "Selected payment scheme: ABC is not supported by XYZ Bank.",
    "requestId": "rq:44mQvLm38qyagkb7Wwi7p6T8UA9V:5zKtXEAq"
}
```

For the error response fields defined:

- `error` is the server error.
- `message` explains the reason for the error.
- `requestId` is generated and returned with the token payload in response to your token payment initiation.


If you have any feedback about the developer documentation, please contact [devdocs@token.io](mailto:devdocs@token.io)