---
title: >-
  Remove unused error codes from LocationDeactivateUserErrorCode - 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/remove-unused-error-codes-from-locationdeactivateusererrorcode
  md: >-
    https://shopify.dev/changelog/remove-unused-error-codes-from-locationdeactivateusererrorcode.md
metadata:
  effectiveApiVersion: 2024-10
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2024-08-19T15:15:28-04:00'
  postedAt: '2024-08-23T09:01:00-04:00'
  updatedAt: '2024-08-23T04:04:42-04:00'
  effectiveAt: '2024-08-23T09:01:00-04:00'
---

August 23, 2024

Tags:

* Admin GraphQL API
* 2024-10

# Remove unused error codes from LocationDeactivateUserErrorCode

As of the **2024-10** release of the GraphQL Admin API, we're removing the error codes: `HAS_OPEN_TRANSFERS_ERROR` and `FAILED_TO_RELOCATE_OPEN_TRANSFERS` from [LocationDeactivateUserErrorCode](https://shopify.dev/docs/api/admin-graphql/latest/enums/LocationDeactivateUserErrorCode).

The error codes were not being returned from the `LocationDeactivate` mutation, as such, they will no longer be listed as possible error codes.

If you are explicitly checking either of these error codes, you should remove references to them.
