---
title: PubSubWebhookSubscriptionCreateUserErrorCode - GraphQL Admin
description: >-
  Possible error codes that can be returned by
  `PubSubWebhookSubscriptionCreateUserError`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PubSubWebhookSubscriptionCreateUserErrorCode
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PubSubWebhookSubscriptionCreateUserErrorCode.md
api_name: admin
api_type: graphql
type: enum
---

# Pub​Sub​Webhook​Subscription​Create​User​Error​Code

enum

Possible error codes that can be returned by `PubSubWebhookSubscriptionCreateUserError`.

## Valid values

* INVALID\_​PARAMETERS

  Invalid parameters provided.

* TAKEN

  Address for this topic has already been taken.

***

## Fields

* [Pub​Sub​Webhook​Subscription​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PubSubWebhookSubscriptionCreateUserError#field-PubSubWebhookSubscriptionCreateUserError.fields.code)

  OBJECT

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

***

## Map

### Fields with this enum

* [Pub​Sub​Webhook​Subscription​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PubSubWebhookSubscriptionCreateUserError#field-PubSubWebhookSubscriptionCreateUserError.fields.code)
