Skip to main content

Errors

Retain the existing error envelope and stable machine-readable codes. The proposed Stellar adapter adds chain-specific categories without presenting a failed submit as a safely unpaid transaction.

CodeMeaningClient response
validation_errorInvalid amount network or termsCorrect input
network_mismatchSigner or envelope targets another environmentSwitch network and rebuild
unsupported_assetIssuer or SAC not approvedSelect configured asset
authorization_requiredRequired account authorization absentRequest correct wallet approval
insufficient_balanceAsset balance fees or reserves unavailableExplain funding requirement
capacity_exceededFunded event cannot cover new exposureReduce notional or select another event
intent_expiredQuote or transaction bounds expiredRefresh terms and request approval
simulation_failedInvocation rejected before submissionShow decoded contract error
sequence_conflictSource sequence changedRebuild and sign as required
oracle_unavailableValid fixing not availableKeep event pending and report status
submission_unknownOutcome not yet reconciledPoll by hash before retrying payment
upstream_errorRPC or provider unavailableBounded retry or route escalation

Business data access also returns unauthorized, forbidden, not-found, and rate-limit responses as appropriate. A browser user refusal is handled without implying a network failure. Never expose provider tokens, keys, or customer documents in error details.