Skip to main content

Error body

The standard error response contains a human-readable detail:
Schema validation failures can instead return detail as an array. Each entry can include loc (for example ["body", "perf_fee", "rate"]), msg, and type. Handle both forms and report the affected field; do not assume detail is always a string.

HTTP codes

Recovery rules

  • Do not automatically retry a deposit, withdrawal, or unassignment whose outcome is uncertain.
  • On 409 during unassignment, query the subscription; it may already be PAUSED.
  • On 500 or 503, keep the CRM operation pending until balances and MT5 identifiers have been checked.
  • Record the UTC timestamp, method, route, non-secret request reference, status code, and response detail for support.
  • Never log bearer credentials or MT5 passwords while capturing diagnostics.

Previous: Financial safety

Return to safe financial sequences.

Next: API conventions

Review pagination, dates, money, and response compatibility.
Last modified on October 10, 2026