--- title: LocationActivateUserErrorCode - GraphQL Admin description: Possible error codes that can be returned by `LocationActivateUserError`. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/locationactivateusererrorcode md: https://shopify.dev/docs/api/admin-graphql/latest/enums/locationactivateusererrorcode.md --- # Location​Activate​User​Error​Code enum Possible error codes that can be returned by `LocationActivateUserError`. ## Valid values * GENERIC\_​ERROR An error occurred while activating the location. * HAS\_​NON\_​UNIQUE\_​NAME There is already an active location with this name. * HAS\_​ONGOING\_​RELOCATION This location currently cannot be activated as inventory, pending orders or transfers are being relocated from this location. * LOCATION\_​LIMIT Shop has reached its location limit. * LOCATION\_​NOT\_​FOUND Location not found. *** ## Fields * [Location​Activate​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationActivateUserError#field-LocationActivateUserError.fields.code) OBJECT An error that occurs while activating a location. *** ## Map ### Fields with this enum * <-|[Location​Activate​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationActivateUserError#field-LocationActivateUserError.fields.code)