Skip to main contentSkip to FAQSkip to contact
HTTP 400Validation

missing_field

Required field absent from request body.

Back to all errors

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