Errors

Here is an explanation of the errors you might get returned

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.

InvalidOnchainTicker - The asset ticker provided is not valid. For valid tickers, see Asset Abbreviation documentation.

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.

InvoiceExpiresTooSoon - The invoice provided expires too soon.

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'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

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 or wait and retry request.

Last updated

Was this helpful?