error object always has three fields:
The numeric error code. Negative codes are JSON-RPC / transport-level; positive codes are Derive application errors
(see the catalog below).
Optional detail (e.g. the offending field or protocol reason). Always present on the wire — it is
null when there is
no detail.JSON-RPC base codes
The standard JSON-RPC 2.0 codes cover malformed or unroutable requests before any application logic runs.Transport & session codes
See Rate limits for how the two-tier limiter works and how to read
your live limits, and Authentication for the session-login and
action-signing layers behind the 401/403 and 14xxx codes.
Application error catalog
Application errors use positive codes grouped by numeric range. Codes are stable; gaps within a range are reserved.Internal 8xxx codes (e.g. counterparty/feed diagnostics) are intentionally omitted from this reference — they are
server-side signals, not client-actionable, and are excluded from public docs.
9xxx — Confirmation timeouts and backend availability
For 9000 and 9001 the order was accepted but a downstream confirmation did not arrive in time; query order state before resubmitting. 9002 and 9003 are different: the request never took effect, so it is safe to retry as-is.10xxx — Accounts, transfers & margin
Rejections from account, session-key, and subaccount-level constraints before an order reaches the book.11000–11039 — Orders, balances & matching
Order-lifecycle rejections from the matching engine, plus the balance-level guards that reject a debit before it is applied.11050–11055 — Trigger orders
Stop / trigger-order specific rejections.A trigger order can also fail after it triggers. That failure is not a JSON-RPC error, so it carries no code. The
order’s
trigger_reject_message field, in order responses and order history, gives the reason.11100–11124 — RFQs, quotes & block trades
Request-for-quote, quote-matching and block-trade rejections.12xxx — Market data
13000 — Subscriptions
14xxx — Authentication & authorization
Session-login, signature, and session-key scope failures. See Authentication for the underlying scheme.15xxx — Chat
Rejections from the chat methods. Blank or too-long message text, and text with control characters other than newlines or bidi override characters, fail with −32602invalid_params instead. private/send_room_message and private/get_room_messages
report the first reason that applies: a ban (15000), then a disabled account (16001
account_disabled), then a missing fee tier (15001). The concierge methods return none
of these. private/send_concierge_message fails with 15002 while the wallet has no fee tier and
the concierge has never messaged it.
16xxx — Compliance
17xxx — Risk universes
18xxx — Vaults
19xxx — Liquidations
Rejections fromprivate/liquidate, public/margin_watch and
private/get_margin. data carries the specifics, such as the actual price and the limit for 19007.
