Skip to main content

Duplicate name

typehttps://docs.frem.sh/reference/api/errors/duplicate-name
HTTP status409 Conflict

What it means

The request conflicts with the resource’s current state.

Example detail messages returned with this error:

  • An environment named “{name}” already exists.
  • An environment named “{name}” already exists.
  • An endpoint named “{name}” already exists.

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-name",
  "title": "Conflict",
  "status": 409,
  "detail": "..."
}

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