Skip to main content

Security fix: not open

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

What it means

Returned by POST /orgs/{org}/code-security/deps/findings/{id}/autofix and POST /orgs/{org}/code-security/sast/findings/{id}/autofix (Security fixes). No pull request was requested.

Since 2026-10-14 the same refusal is answered with the type security-fix-not-open from POST /orgs/{org}/dependency-updates/security-fixes/requests and with the type ai-fix-not-open from POST /orgs/{org}/code-security/sast/findings/{id}/ai-fix. The paths above are deprecated and keep answering autofix-not-open until 2027-10-15. Branch on either type.

Example detail message returned with this error:

  • The finding is dismissed or already fixed; security fixes are only proposed for open findings.

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

What to do

Nothing to do, or undo the dismissal first.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/autofix-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.