Error body
The standard error response contains a human-readabledetail:
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
409during unassignment, query the subscription; it may already bePAUSED. - On
500or503, 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
detailfor 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.

