Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

Errors

collection_name_taken

Another of the customer's Collections already has this name.

Status

HTTP 409, title Collection name taken. One of the the request itself errors. Branch on code, never on the status or the prose.

Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.

Common causes

  • Creating or renaming a Collection to a name in use, in any letter case.

What to do

Action: Use the Collection in collection_id, or pick another name.

You already have a collection with that name, in any letter case. Use the one in collection_id, or pick another name.

Example

The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.

{
  "type": "https://www.shortsintel.com/docs/reference/errors/collection_name_taken",
  "title": "Collection name taken",
  "status": 409,
  "code": "collection_name_taken",
  "retryable": false,
  "action": "Use the Collection in `collection_id`, or pick another name.",
  "remedy": "You already have a collection with that name, in any letter case. Use the one in `collection_id`, or pick another name."
}