NowgateDocs

rate_unavailable

The asset can't be priced in the currency right now.

On this page

HTTP status: 503. Retrying the same request can succeed.

Why it happens

  • Nowgate's rate engine prices an asset only when two independent sources agree, one of them an oracle. The detail says why it can't now: too few sources, sources that disagree, a sudden jump being held, or a stablecoin outside its peg.
  • The rates may be older than three minutes, while the network's endpoints are slow.

What to do

Retry after a minute with the same Idempotency-Key, offer the payer another asset, or price the payment in the asset with amount. GET /v1/rates shows each asset's state.

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/rate_unavailable",
  "title": "503",
  "status": 503,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "rate_unavailable",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}