Rule-based fix: the finding does not exist
type | https://docs.frem.sh/reference/api/errors/rule-fix-not-found |
| HTTP status | 404 Not Found |
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.
No secret or IaC finding with this id exists in this organisation.
Example detail message returned with this error:
- Finding not found.
The response also carries "reason": "not_found".
What to do
Check the id. List findings with GET /orgs/{org}/code-security/secrets/findings or GET /orgs/{org}/code-security/iac/findings.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/rule-fix-not-found",
"title": "Not Found",
"status": 404,
"detail": "...",
"reason": "not_found"
}Branch on type, not on title or detail - those are human-readable and may be reworded.