# LocationActivateUserError - admin-graphql - OBJECT Version: 2024-10 ## Description An error that occurs while activating a location. ### Access Scopes `read_locations` access scope. ## Fields * [code](/docs/api/admin-graphql/2024-10/enums/LocationActivateUserErrorCode): LocationActivateUserErrorCode - 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 * [locationActivate](/docs/api/admin-graphql/2024-10/mutations/locationActivate) Activates a location so that you can stock inventory at the location. Refer to the [`isActive`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-isactive) and [`activatable`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-activatable) fields on the `Location` object. ## Related Unions ## Examples