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

# Analytics​Annotation​Delete​User​Error

object

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

## Fields

* code

  [Analytics​Annotation​Delete​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/AnalyticsAnnotationDeleteUserErrorCode)

  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​Annotation​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsAnnotationDelete)

  mutation

  Deletes an [analytics annotation](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsAnnotation). An app can delete only annotations that it created. If an app attempts to delete an annotation that it didn't create, then the mutation returns a `NOT_FOUND` error. Use [`analyticsAnnotationCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsAnnotationCreate) to create a new annotation, or [`analyticsAnnotationUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsAnnotationUpdate) to modify existing ones.

  * id

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

    required

    ### Arguments

    The ID of the analytics annotation to delete.

  ***

***

## AnalyticsAnnotationDeleteUserError Mutations

### Mutated by

* [analytics​Annotation​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsAnnotationDelete)

***

## Interfaces

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

  interface

***

## AnalyticsAnnotationDeleteUserError Implements

### Implements

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