# LocationDeactivateUserError - admin-graphql - OBJECT Version: 2024-10 ## Description The possible errors that can be returned when executing the `locationDeactivate` mutation. ### Access Scopes `read_locations` access scope. ## Fields * [code](/docs/api/admin-graphql/2024-10/enums/LocationDeactivateUserErrorCode): LocationDeactivateUserErrorCode - The error code. * [field](/docs/api/admin-graphql/2024-10/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/admin-graphql/2024-10/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [locationDeactivate](/docs/api/admin-graphql/2024-10/mutations/locationDeactivate) Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location. ## Related Unions ## Examples