--- title: New error code added for MetafieldDefinitionUpdate - 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-code-added-for-metafielddefinitionupdate md: https://shopify.dev/changelog/new-error-code-added-for-metafielddefinitionupdate.md --- [Back to Developer changelog](https://shopify.dev/changelog) October 1, 2023 Tags: * API * 2023-10 # New error code added for MetafieldDefinitionUpdate As of API version 2023-10, we've added the `METAOBJECT_DEFINITION_CHANGED` error code to the `MetafieldDefinitionUpdateUserErrorCode` enum. This new error code is returned if you attempt to update a `metaobject_reference` metafield definition so that it references a different Metaobject definition. Previously, this action would result in an `INTERNAL_SERVER_ERROR`. Learn more about `METAOBJECT_DEFINITION_CHANGED` on