Draft with AI unavailable
type | https://docs.frem.sh/reference/api/errors/ai-draft-unavailable |
| HTTP status | 409 Conflict |
What it means
Draft with AI for custom secret patterns cannot run for this organisation: it has no AI provider of its own, the secret-pattern-draft feature is switched off, or the provider’s key was rejected at its last check. There is no fremforge key. HTTP 404 means Draft with AI is switched off for fremforge as a whole.
What to do
Add a provider, or update its key, under AI integrations, and switch on secret-pattern-draft there. Or write the pattern yourself. See Draft a pattern with AI.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/ai-draft-unavailable",
"title": "Conflict",
"status": 409,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.