Skip to main content

Reason required

typehttps://docs.frem.sh/reference/api/errors/reason-required
HTTP status400 Bad Request

What it means

The request was malformed, or a field failed validation.

Example detail messages returned with this error:

  • reason is required — overrides without a reason fail audit.
  • reason is required to dismiss a finding.
  • reason is required.

What to do

This endpoint requires an audit reason explaining the change. Supply a short human-readable string.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/reason-required",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.