Skip to main content

Invalid message

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

What it means

A SAST rule has no message, or it is too long.

Example detail messages returned with this error:

  • message is required, at most 1000 characters.

What to do

Give the rule a message: it is what a finding says.

Response shape

All fremforge API errors are RFC 9457 problem+json:

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

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