Update Reason Codes {#uc_v1_migrate_reason_codes}
=================================================

Some reason codes were renamed in v1. This table shows the v0 reason code name and the corresponding name in the v1 client-side SDK:

|            v0 Reason Code             |        v1 Reason Code         |
|---------------------------------------|-------------------------------|
| `SHOW_LOAD_CONTAINER_SELECTOR`        | `MOUNT_CONTAINER_SELECTOR`    |
| `SHOW_LOAD_ERROR`                     | `MOUNT_ERROR`                 |
| `SHOW_LOAD_INVALID_CONTAINER`         | `MOUNT_INVALID_CONTAINER`     |
| `SHOW_LOAD_SIDEBAR_OPTIONS`           | `MOUNT_SIDEBAR_OPTIONS`       |
| `SHOW_PAYMENT_TIMEOUT`                | `MOUNT_PAYMENT_TIMEOUT`       |
| `SHOW_PAYMENT_UNAVAILABLE`            | `MOUNT_PAYMENT_UNAVAILABLE`   |
| `SHOW_TOKEN_TIMEOUT`                  | `MOUNT_TOKEN_TIMEOUT`         |
| `SHOW_TOKEN_XHR_ERROR`                | `MOUNT_TOKEN_XHR_ERROR`       |
| `UNIFIED_PAYMENTS_ALREADY_SHOWN`      | `CHECKOUT_ALREADY_MOUNTED`    |
| `UNIFIED_PAYMENTS_PAYMENT_PARAMETERS` | `CHECKOUT_PAYMENT_PARAMETERS` |
| `UNIFIED_PAYMENTS_VALIDATION_PARAMS`  | `CHECKOUT_VALIDATION_PARAMS`  |

> IMPORTANT
> The server-side API continues to return these v0 reason codes. The v1 reason codes listed here are used only in the client-side SDK. For all v1 client-side error codes, see [Handle Errors](/docs/vas/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-reference-test-cards/uc-handle-errors.md "").

