Skip to content

A collection with this name already exists

What the collection_exists error from the Perafly API means and what to do about it.

On this page
Code
collection_exists
HTTP status
409
Group
Data

What it means

A collection or record request doesn't fit the collection's schema, rules or indexes.

What to do

Compare the request with the collection (perafly data collections show <name>) and adjust the request or the schema.

Read more: Data

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/collection_exists",
  "title": "A collection with this name already exists",
  "status": 409,
  "code": "collection_exists",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes