Skip to main content

Security fix: repo limit

typehttps://docs.frem.sh/reference/api/errors/autofix-repo-limit
HTTP status429 Too Many Requests

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-repo-limit from POST /orgs/{org}/dependency-updates/security-fixes/requests and with the type ai-fix-repo-limit from POST /orgs/{org}/code-security/sast/findings/{id}/ai-fix. The paths above are deprecated and keep answering autofix-repo-limit until 2027-10-15. Branch on either type.

Example detail message returned with this error:

  • This repository already has the maximum number of open security fix pull requests. Merge or close one first.

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

What to do

Merge or close one first.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/autofix-repo-limit",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "...",
  "reason": "repo_limit"
}

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