HTTP 400Validation
missing_field
Required field absent from request body.
What this means
A required field was not present in the request. The response body includes a `field` key naming the missing property.
How to recover
Read the `field` key in the error response and populate the missing property.
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": "missing_field",4 "message": "Required field absent from request body.",5 "docs_url": "https://tetrafi.io/docs/integration/errors/missing_field/"6 }7}7 linesjson
Match in code
TypeScript
1try {2 await tetrafi.rfq.create({ /* ... */ });3} catch (err) {4 if (err.code === "missing_field") {5 // Read the `field` key in the error response and populate the missing property.6 }7 throw err;8}8 linestypescript
Related validation errors
400400400400400422
invalid_request
Malformed request or missing required parameter.
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.
validation_error
Field types are valid but business rules failed.