# Errors

### Order Errors

**OrderNotFound** - There is no order in the database with that orderId. Double check that the orderId is correct.

**InvalidOrderId** - The orderId provided is not a valid UUID. Double check that the orderId is correct.

**InvalidRefundAddress** - The refund address provided is not a valid Bitcoin address. Double check to make sure the address was input correctly.

### Market Errors

**InvalidMarket** - An invalid market was provided with the request. For valid markets, see [Market Documentation](https://radarrelay.gitbook.io/redshift-api-documentation/websocket-api/http-api/market).

**InvalidOnchainTicker** - The asset ticker provided is not valid. For valid tickers, see [Asset Abbreviation documentation](https://radarrelay.gitbook.io/redshift-api-documentation/getting-started/definitions/asset-and-market-abbreviations).

### Invoice Errors

**InvalidInvoice** - The invoice provided is not a valid Lightning Network invoice. You can decode valid Lightning Network invoices using RADAR ION's [invoice decoder](https://ion.radar.tech/developers#decode).

**InvoiceExpiresTooSoon** - The invoice provided expires too soon.&#x20;

**InvoiceAmountBelowMinimum** - Invoice is below the minimum amount for selected market.

**InvoiceAmountAboveMaximum** - Invoice is above the maximum amount for selected market.

| Market    | Invoice Minimum | Invoice Maximum  | Min Invoice Expiration |
| --------- | --------------- | ---------------- | ---------------------- |
| BTC\_LBTC | 30000 satoshis  | 1000000 satoshis | 2400 sec               |
| ETH\_LBTC | 1 satoshi       | 1000000 satoshis | 900 sec                |

**InvoicePaymentNotRoutable** - There is no route between the liquidity provider and the invoice recipient. Usually a result of the invoice recipient not having a well connected Lightning node. Can be resolved by having the invoice recipient open a channel to another well connected node like [RADAR ION](https://ion.radar.tech/developers#hub)'s.

**TooManySwapsInFlight** - There are too many swaps happening at once. Can be resolved by waiting and sending another request.

### Broadcast Transaction

**InvalidSignedTxHex** - The signed transaction hex is invalid. Double check the transaction hex or generate a different one.

**InvalidNetworkOrSubnet** - The provided network or subnet is not valid. See&#x20;

**InactiveNetworkOrSubnet** - The provided network or subnet is not active.

### Other Errors

**InternalServerError** - There was an error during one of the requests. Retry the request.

**NoQuoteProvidersAvailable** - There are no quote providers available for the particular market. This is very unusual. Contact [support](https://support.ion.radar.tech/support/home) or wait and retry request.
