Skip to main content

Invalid taint rules setting

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

What it means

The taint_rules field of PUT /orgs/{org}/code-security/sast/settings had a value other than default, on or off.

Example detail message returned with this error:

  • taint_rules must be default, on or off.

What to do

Send default, on or off, or leave taint_rules out to keep the stored value.

Response shape

All fremforge API errors are RFC 9457 problem+json:

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

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