Skip to main content

Invalid request

typehttps://docs.frem.sh/reference/api/errors/invalid-request
HTTP status400 Bad Request

What it means

The request was malformed, or a field failed validation.

Example detail messages returned with this error:

  • Provide repo (owner/name under this org), issue_number, and major.
  • allow must be a boolean.
  • only_protected_branches must be a boolean.

What to do

Correct the request 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-request",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

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