Duplicating a metaobject gives an error

When trying to duplicate a metaobject entry, both me and the merchant receive an error:

The error is in Dutch but roughly translates to:
Error while duplicating item
An unknown error has occurred.

It does not matter what name I enter. It does not happen for each entry, but it does happen for quite some entries that were added inside Shopify manually.

Any way to figure out what causes this?

1 Like

Hey @Teun,

This community forum is for developers building with Shopify’s APIs, so for admin-level issues like metaobject duplication, the merchant community or merchant Support may be better suited.

That said, a few things to check on your metaobject definition under Settings > Custom data:

  • Does any field have “Each value must be unique” validation enabled? Duplication can fail when it tries to copy a value that must be unique. Only entries with a value in that field would be affected, which would explain why some entries work and others don’t.
  • Are there required fields that might not carry over properly during duplication?
  • Does the entry have references to other resources (products, other metaobjects) that could be causing a conflict?

Hope that helps.