--- title: UrlRedirectErrorCode - GraphQL Admin description: Possible error codes that can be returned by `UrlRedirectUserError`. api_version: 2024-10 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/UrlRedirectErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/UrlRedirectErrorCode.txt --- # Url​Redirect​Error​Code enum Possible error codes that can be returned by `UrlRedirectUserError`. ## Valid values * CREATE\_​FAILED Redirect could not be created. * DELETE\_​FAILED Redirect could not be deleted. * DOES\_​NOT\_​EXIST Redirect does not exist. * UPDATE\_​FAILED Redirect could not be updated. *** ## Fields * [Url​Redirect​User​Error.​code](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/UrlRedirectUserError#field-code) OBJECT Represents an error that happens during execution of a redirect mutation. *** ## Map ### Fields with this enum * <-|[Url​Redirect​User​Error.code](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/UrlRedirectUserError#field-code)