Invalid field
type | https://docs.frem.sh/reference/api/errors/invalid-field |
| HTTP status | 400 Bad Request |
What it means
The request was malformed, or a field failed validation.
Example detail messages returned with this error:
- {f} must be a boolean.
- max_pat_lifetime_days must be null or one of {[…VALID_PAT_LIFETIMES].join(’, ‘)}.
- audit_full_payload_retention_days must be one of {[…VALID_AUDIT_RETENTION_DAYS].join(’, ‘)}.
What to do
Correct the field value - detail names what was wrong.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-field",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.