Skip to main content

Invalid severity

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

What it means

A SAST rule’s severity is not one fremforge accepts.

Example detail messages returned with this error:

  • severity is ERROR, WARNING or INFO.

What to do

Use ERROR, WARNING or INFO. A finding blocks by its severity against the SAST block level.

Response shape

All fremforge API errors are RFC 9457 problem+json:

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

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