invalid_request_error400What happened
One or more fields in your request did not pass validation. Thedetails array tells you exactly which fields failed and why — fix them and retry.
The details array
Each entry in details identifies one failing field:
| Field | Type | Description |
|---|---|---|
path | string | Dot-notation path to the field, e.g. contract.price. Array indices use bracket notation: conditions[0].event. |
message | string | Human-readable reason the field failed validation. |
Common causes
price is zero or negative
price is zero or negative
contract.price must be a positive number greater than 0.fulfillment_condition is malformed
fulfillment_condition is malformed
The condition tree must use
{ "event": "..." } for leaf nodes and { "op": "AND"|"OR", "conditions": [...] } for operator nodes.Path parameter is not a valid UUID
Path parameter is not a valid UUID
ID parameters like
/:id must be a valid UUID v4.