Skip to main content

Rule-based fix: the finding is dismissed

typehttps://docs.frem.sh/reference/api/errors/rule-fix-not-open
HTTP status409 Conflict

What it means

Returned by POST /orgs/{org}/code-security/secrets/findings/{id}/fix and POST /orgs/{org}/code-security/iac/findings/{id}/fix (rule-based fixes). No fix was requested and no pull request was opened.

The finding has been dismissed. A fix is only proposed for an open finding.

Example detail message returned with this error:

  • The finding is dismissed; a fix is only proposed for open findings.

The response also carries "reason": "not_open".

What to do

Reopen the finding first if you want a fix for it.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/rule-fix-not-open",
  "title": "Conflict",
  "status": 409,
  "detail": "...",
  "reason": "not_open"
}

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