---
title: AnalyticsTargetUpdateUserError - GraphQL Admin
description: An error that occurs during the execution of `AnalyticsTargetUpdate`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTargetUpdateUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTargetUpdateUserError.md
api_name: admin
api_type: graphql
type: object
---

# Analytics​Target​Update​User​Error

object

An error that occurs during the execution of `AnalyticsTargetUpdate`.

## Fields

* code

  [Analytics​Target​Update​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/AnalyticsTargetUpdateUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [analytics​Target​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetUpdate)

  mutation

  Updates an existing [analytics target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget). Only the fields provided in the `input` argument are modified; omitted fields remain unchanged. Setting a nullable field to `null` clears its value.

  Use [`analyticsTargetCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetCreate) to create a new target, or [`analyticsTargetsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetsDelete) to remove targets.

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    ### Arguments

    The ID of the analytics target to update.

  * input

    [Analytics​Target​Update​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsTargetUpdateInput)

    required

    The input fields for updating an [analytics target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget).

  ***

***

## AnalyticsTargetUpdateUserError Mutations

### Mutated by

* [analytics​Target​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetUpdate)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)

  interface

***

## AnalyticsTargetUpdateUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)
