Meta catalog error 804: "Specified object already exists"

Error 804 is real, but it will not stop you from creating two catalogs with the same name. Meta accepts the duplicate silently, so the guard has to be yours.

Start free →

Made with Hermoso

Product catalogs are created with POST /{business_id}/owned_product_catalogs. Meta's ProductCatalog reference lists the errors that call can return, and one of them is 804. Most developers expect it to fire on a duplicate name. It does not.

The exact error

Meta's Creating error table for owned_product_catalogs lists, among others:

CodeMeta's description
804Specified object already exists
100Invalid parameter
200Permissions error
2310019The business of this catalog is not onboarded to Collaborative Ads

Those five words are everything Meta says about 804. The reference does not say catalog names are unique, and the name parameter carries no uniqueness constraint.

What it means

We tested the obvious case. Posting the byte-identical name twice to one business portfolio returned two different catalog IDs, no error, and nothing in either response to tell them apart. So 804 is not a duplicate-name guard. If your code relies on it for idempotency, a retried create gives you a second, empty catalog with the same name as the first.

Why it happens

Duplicate catalogs usually come from a lost response. The create succeeded, the network dropped the reply, and the caller tried again. Agents and job queues that retry on timeout are the usual source. Because Meta builds the twin silently, you find out later, when an ad set is bound to the wrong catalog or a feed uploads into the empty one.

Two related traps on the same object:

  • Updates with POST /{product_catalog_id} answer {"success":true} and never the updated object. Meta returns the same answer for a field it ignored and for an update with no fields at all. vertical and the owning business are create-only.
  • Deletes are permanent. Meta: "You cannot remove a product catalog from a Business Manager, or transfer a catalog from one Business Manager to another." Cleaning up a twin means a real delete.

There is one more failure with no code at all. Meta's catalog docs say "You need the appropriate Marketing API Access Level and must accept the Terms of Service by creating your first catalog through Business Manager." A portfolio that never did that fails catalog calls, and no published error code identifies it.

How to fix it

  1. Before you create, list owned_product_catalogs on the business and check for the name yourself.
  2. Store the catalog ID from the create response as soon as it arrives.
  3. If a create times out, list the catalogs and match by name before you try again.
  4. After an update, read the catalog back and compare each field you changed. {"success":true} proves nothing.
  5. Delete a twin only after confirming it is the empty one, and check it has no product sets bound to live ads.

How Hermoso handles it

Hermoso creates, updates and deletes catalogs on your own business portfolio (see the Meta Ads MCP server). Because Meta will not refuse a duplicate name, Hermoso does. A create with a name that already exists is refused and names the existing catalog, which is exactly what an agent whose create reply was lost needs to recover. An explicit option creates the second catalog anyway when you really want one. Hermoso deliberately does not hand back the existing catalog instead: a populated catalog given to someone who thinks they made an empty one is how ads end up pointed at the wrong inventory.

Updates are summarized from a fresh read, a value that does not read back as sent is reported as not confirmed, and an update with no fields is refused rather than reported as a change. An unknown vertical is refused rather than defaulted, because Meta treats a missing one as commerce and it cannot be changed later.

Related

Every platform error we have documented is on the error reference. For app reviews and access levels, see how to get API access.

Sources

Frequently asked questions

Does Meta return error 804 for a duplicate catalog name?

No. In our test the same name posted twice created two catalogs with different IDs and no error.

How do I avoid duplicate catalogs?

List owned_product_catalogs and check the name yourself before creating, and after a timeout list again before retrying.

Why does a catalog update return success but nothing changes?

Meta answers {"success":true} even for a field it ignored. Read the catalog back to confirm each change.

Can I merge or move a duplicate catalog?

No. Meta does not transfer catalogs between businesses, and a delete is permanent, so confirm which twin is empty first.

Skip the error hunting: connect your accounts to Hermoso free, no card.

Start free →   See pricing