Rule-based fix: a fix is already in progress or open
type | https://docs.frem.sh/reference/api/errors/rule-fix-already-proposed |
| 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.
A fix for this finding is already being prepared, or its pull request is open. The response carries an existing object with request_id, status, pr_number and pr_url.
Example detail message returned with this error:
- A fix for this finding is already being prepared or is open.
The response also carries "reason": "already_proposed".
What to do
Review the open pull request, or follow the request with GET /orgs/{org}/code-security/fix-requests.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/rule-fix-already-proposed",
"title": "Conflict",
"status": 409,
"detail": "...",
"reason": "already_proposed"
}Branch on type, not on title or detail - those are human-readable and may be reworded.