validation_error
Field types are valid but business rules failed.
What this means
Request body parsed successfully but failed business-rule validation (e.g. destination chain doesn't support the requested token, deadline is in the past).
How to recover
Inspect the `errors` array in the response body for field-level detail.
Example response
All TetraFi errors include a stable code, a human-readable message, and a docs_url pointing to this page.
1{2 "error": {3 "code": "validation_error",4 "message": "Field types are valid but business rules failed.",5 "docs_url": "https://tetrafi.io/docs/integration/errors/validation_error/"6 }7}Match in code
1try {2 await tetrafi.rfq.create({ /* ... */ });3} catch (err) {4 if (err.code === "validation_error") {5 // Inspect the `errors` array in the response body for field-level detail.6 }7 throw err;8}Related validation errors
invalid_request
Malformed request or missing required parameter.
missing_field
Required field absent from request body.
pair_not_supported
The pair isn't available on the requested corridor.
amount_too_small
Below the minimum trade size for your tier.
amount_too_large
Exceeds the maximum trade size for your tier.
corridor_unavailable
No solvers currently cover the requested corridor.