Skip to main contentSkip to FAQSkip to contact
HTTP 403Compliance

compliance_error

Participant not compliant to trade.

Back to all errors

What this means

Generic compliance failure - attestation is missing, expired, or doesn't cover the requested action.

How to recover

Inspect the `reason` field in the error response for specifics.

Example response

All TetraFi errors include a stable code, a human-readable message, and a docs_url pointing to this page.

JSON
1{
2 "error": {
3 "code": "compliance_error",
4 "message": "Participant not compliant to trade.",
5 "docs_url": "https://tetrafi.io/docs/integration/errors/compliance_error/"
6 }
7}
7 linesjson

Match in code

TypeScript
1try {
2 await tetrafi.rfq.create({ /* ... */ });
3} catch (err) {
4 if (err.code === "compliance_error") {
5 // Inspect the `reason` field in the error response for specifics.
6 }
7 throw err;
8}
8 linestypescript

Related compliance errors