invalid_api_key | The API key is missing or invalid. | Check backend configuration. |
inactive_partner | API access is disabled. | Contact LightSwap. |
validation_error | The request body, headers, or parameters are invalid. | Fix the request and retry. |
unsupported_asset | The requested asset is not available for that network. | Refresh assets and ask the user to choose another asset. |
unsupported_memo | A memo was supplied for a network that does not support memos, or no route that can carry a memo is available for the pair. | Remove the memo and retry, or use a self-custody destination or another pair. |
unsupported_pair | The requested pair is not available. | Ask the user to choose another pair or amount. |
quote_not_found | The quote ID does not exist for your API key. | Create a new quote. |
quote_expired | The quote expired before swap creation. | Create a new quote. |
quote_already_used | The quote already created a swap. | Repeating POST /swap with the same quoteId returns the existing swap. If you still see this error, create a new quote. |
rate_limited | The request limit was exceeded. | Wait for Retry-After, then retry. |
provider_unavailable | A route service is temporarily unavailable. | Retry later or ask the user to choose another pair. |
swap_not_found | The swap ID does not exist for your API key. | Check the stored swap ID. |
internal_error | The request failed on the server. | Retry later. If it continues, contact support with your externalId and swap ID. |