OPDC API error code

FIELD_INVALID

HTTP status 400

A field was present but its value does not satisfy the field's rule. 400.

The complement of FIELD_REQUIRED: that code is for absence, this one for a present-but-wrong value: an enum member outside the declared set, a page.pageSize above the maximum, a structural or arithmetic invariant the request violates.

The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/field-invalid, and with X-Error-Code: FIELD_INVALID. Branch on the code, never on the detail text.

How errors work, and what to retryEvery error code