AI fix: unavailable
type | https://docs.frem.sh/reference/api/errors/autofix-unavailable |
| HTTP status | 503 Service Unavailable |
What it means
Returned by POST /orgs/{org}/code-security/sast/findings/{id}/autofix when AI fixes are not configured on this fremforge server at all. No fix was requested.
Since 2026-10-14 the same refusal is answered with the type ai-fix-unavailable from POST /orgs/{org}/code-security/sast/findings/{id}/ai-fix. The paths above are deprecated and keep answering autofix-unavailable until 2027-10-15. Branch on either type.
Example detail message returned with this error:
- AI fix is not configured on this server.
What to do
On frem.sh this does not happen; contact support if it does. On a self-run server, the api needs its encryption key and the AI fix wiring.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/autofix-unavailable",
"title": "Service Unavailable",
"status": 503,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.