--- title: New error codes added for metafield capabilities - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/new-error-codes-added-for-metafield-capabilities md: https://shopify.dev/changelog/new-error-codes-added-for-metafield-capabilities.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 8, 2024 Tags: * API * 2024-01 # New error codes added for metafield capabilities As of API version 2024-01, we've added the `CAPABILITY_VIOLATION` error code to the `MetafieldsSetUserErrorCode` enum. This error code is returned if you attempt to update a metafield in a way that doesn't conform to the enabled capabilities.