--- title: Removal of the error code INVALID from LocationDeactivateErrorCode - 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/removal-of-the-error-code-invalid-from-locationdeactivateerrorcode md: https://shopify.dev/changelog/removal-of-the-error-code-invalid-from-locationdeactivateerrorcode.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 1, 2023 Tags: * API * 2023-01 # Removal of the error code `INVALID` from LocationDeactivateErrorCode As of GraphQL Admin API version `2023-01`, we are removing the error code `INVALID` from `LocationDeactivateUserError` as we never return this error code when using the mutation `locationDeactivate` to deactivate a location. If you are explicitly checking for this error code, you should remove references to it. Learn more about { Location deactivate user error codes } on [Shopify.dev](https://shopify.dev/api/admin-graphql/2023-01/enums/LocationDeactivateUserErrorCode).