pineplechainDocs

Fundamentals

Errors

Error format (RFC 9457) and the most common types.

Errors follow RFC 9457 (application/problem+json). The type field identifies the error; errors lists the fields at fault.

{
  "type": "https://docs.pineplechain.com/problems/validation-error",
  "title": "Validation error",
  "status": 422,
  "detail": "amount: must be at least 0.001",
  "instance": "/v1/invoices",
  "request_id": "req_6c1d0b7e-2f4a-4c3e-9d1b-7a5e8f2c4b10",
  "errors": [{ "path": "amount", "message": "must be at least 0.001" }]
}

Common types

StatustypeWhen
400bad-request, malformed-jsonInvalid body, or Idempotency-Key missing where required.
401unauthorizedMissing, invalid or revoked key.
402fees-overdueOverdue fee invoice (production).
403forbidden, kyb-requiredNot allowed, or the business is not verified yet.
404not-foundDoes not exist, or belongs to another business.
409invalid-state-transition, escrow-expired, mode-mismatchThe action is not valid in the current status, the escrow expired, or the key belongs to the other environment.
422validation-error, idempotency-key-reusedInvalid or unknown field, or a reused idempotency key.
429rate-limitedMore than 120 calls per minute.
502 / 503ledger-error, platform-not-readyTemporary XRPL or platform failure. Try again.
Unknown fields in the body or the query string are rejected with 422. That catches typos early.

Something wrong on this page? Let us know.