> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

Use this guide to troubleshoot Payment Links SDK status codes and possible integration issues.

## Available status codes

The following status codes apply to Unity 3.0.0, Android 2.0.0, iOS 2.0.0, and above:

| SDK Status Code | Description |
| - | - |
| `1000` | An internal server error occurred because the server isn't responding or is down. |
| `1001` | A general server error occurred. |
| `1002` | Unable to reach the service. Please check your network connection and try again. |
| `1007` | Checkout token validation failed due to a token mismatch. |
| `1008` | The SDK method isn't supported on the current platform and returns the message `"This method is unsupported."` |
| `2000` | Failed to initialize checkout due to configuration issues not covered by another initialization error. |
| `2001` | Invalid, missing, or empty environment configuration. |
| `2002` | Invalid, missing, or empty checkout token. |
| `2003` | Missing or empty Customer ID. |
| `2004` | Invalid redirect URL configuration. Relevant for iOS only. |
| `2005` | SDK initialization is already in progress. |
| `2006` | Boot settings couldn't be found, or an error occurred while parsing boot settings. |
| `3000` | The player closed the browser using OS-level controls. |
| `3002` | Purchase canceled because the player closed the checkout interface. |
| `3003` | Purchase failed on the server side. |
| `3004` | Timeout during order validation. |
| `3005` | The browser closed before the checkout page fully launched. |
| `3006` | The client-side SDK configuration, Publisher Token, and/or Checkout Token don't match the server-side session environment. |
| `3007` | Customer ID validation failed because the `customerId` in `OrderResponseModel` doesn't match the `customerId` passed when opening the checkout. |
| `4000` | Couldn't find any available browser on the device. |
| `4002` | The browser can't be opened due to a malformed parsed URL. |
| `8000` | Open checkout failed because the Purchase ID argument is invalid. |
| `8001` | Open checkout failed because the parsed URL argument is invalid. |
| `9001` | The request can't be handled due to no internet connectivity. |
| `9999` | An unknown error occurred. |

## Checkout session expiry

Checkout session expiry isn't returned as a separate SDK status. If checkout is opened with an expired checkout session, the browser loads and displays `Something went wrong.`. The SDK currently treats this as a purchase cancellation (`3002`) because it can't distinguish between a canceled purchase and an expired session.
