---
title: "PublicationUserErrorCode"
description: "Possible error codes that can be returned by PublicationUserError."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/enums/publication-user-error-code'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/apps/enums/publication-user-error-code.md'
---
# PublicationUserErrorCode

Possible error codes that can be returned by PublicationUserError.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`PublicationUserErrorCode`

## Values

* `APP_NOT_SALES_CHANNEL`

  App are not sales channels.

* `BLANK`

  The input value is blank.

* `CANNOT_SUPPORT_THIS_CATALOG`

  This catalog is not currently supported.

* `CATALOG_NOT_FOUND`

  Catalog does not exist.

* `GID_BLANK`

  Gid is blank.

* `PUBLICATION_NOT_FOUND`

  Publication not found.

* `APP_NOT_INSTALLED`

  App not installed.

* `APP_NOT_PASS_AUDIT`

  App did not pass the audit.

## Schema Definition

```graphql
enum PublicationUserErrorCode { 
	APP_NOT_SALES_CHANNEL 
	BLANK 
	CANNOT_SUPPORT_THIS_CATALOG 
	CATALOG_NOT_FOUND 
	GID_BLANK 
	PUBLICATION_NOT_FOUND 
	APP_NOT_INSTALLED 
	APP_NOT_PASS_AUDIT  
}
```

## Field from

* [PublicationUserError](https://developer.shopline.com/docs/admin-graph-ql-api/apps/objects/publication-user-error.md).code

  Code representing the error type.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

