Skip to main content

Changes to metafield definition error codes

As of GraphQL Admin API version 2022-04, an error returns when a metafield definition is created with invalid characters in either the key or the namespace fields. The key and namespace fields can contain only alphanumeric characters, hyphens, and underscores.

Learn more about the MetafieldDefinition object.

Was this section helpful?