Skip to main content

Rule-based fix: a fix was tried recently

typehttps://docs.frem.sh/reference/api/errors/rule-fix-rate-limited
HTTP status429 Too Many Requests

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 was tried recently and did not produce a pull request.

Example detail message returned with this error:

  • A fix for this finding was tried in the last 10 minutes. Try again later.

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

What to do

Wait and try again. GET /orgs/{org}/code-security/fix-requests shows why the last attempt stopped.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/rule-fix-rate-limited",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "...",
  "reason": "rate_limited"
}

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