Rule-based fix: AutoFix is turned off for the organisation
type | https://docs.frem.sh/reference/api/errors/rule-fix-disabled |
| HTTP status | 409 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 organisation’s AutoFix limits are set to 0, which turns AutoFix off.
Example detail message returned with this error:
- AutoFix is turned off for this organisation (its limits are set to 0).
The response also carries "reason": "disabled".
What to do
An owner can raise the limits under AutoFix settings.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/rule-fix-disabled",
"title": "Conflict",
"status": 409,
"detail": "...",
"reason": "disabled"
}Branch on type, not on title or detail - those are human-readable and may be reworded.