Duplicate key
type | https://docs.frem.sh/reference/api/errors/duplicate-key |
| HTTP status | 409 Conflict |
What it means
The request conflicts with the resource’s current state.
Example detail messages returned with this error:
- That API key is already configured as “{dupe[0].label}”. Disable it first or use a different key.
What to do
Re-read current state and reconcile before retrying: the resource changed, or already exists.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/duplicate-key",
"title": "Conflict",
"status": 409,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.