Skip to content

Errors and status handling

Gulf returns structured API errors as { "error": { "code", "message" } }. A malformed request or provider/configuration processing failure is HTTP 400 with bad_request; an unknown route is 404 not_found; a method not registered for a route is 405 method_not_allowed.

ConditionResponse or action
Missing environment variableSet the provider credential, recipient, or RPC variable required by the active config; retry only after validating it.
Unsupported routeChoose a configured provider, chain, and token combination; inspect providers, chains, and tokens.
Provider minimumIncrease amount or select another route; do not split blindly because each transfer has fees.
Missing ERC-20 allowanceSubmit and confirm the prepared approval, then prepare again. Meson can reject preparation before allowance.
Cloudflare or rate limitTreat it as provider access failure, back off, and use authorized access or another route. OpenOcean and Rango returned Cloudflare 403 in the recorded probe.
Unavailable broker or local Allbridge APIRestore the required Chainflip broker endpoint or local Allbridge Core REST service, then retry.
Reverted transactionStop, inspect the on-chain receipt and plan; do not automatically resubmit.
Pending settlementSource success is not destination completion. Poll the provider/status handle and wait for final settlement.

Provider payloads can expose an error in normalized.error even when other quote fields are present. Preserve raw provider detail privately for diagnosis, but sanitize it before sharing. See security and live testing.

Apache-2.0 OR MIT