---
title: "PublicationUserErrorCode"
description: "PublicationUserError 可能返回的错误代码。"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/apps/enums/publication-user-error-code'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/apps/enums/publication-user-error-code.md'
---
# PublicationUserErrorCode

PublicationUserError 可能返回的错误代码。

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

## Type Signature

`PublicationUserErrorCode`

## Values

* `APP_NOT_SALES_CHANNEL`

  App不是销售渠道

* `BLANK`

  input值为空

* `CANNOT_SUPPORT_THIS_CATALOG`

  暂不支持此catalog

* `CATALOG_NOT_FOUND`

  Catalog没找到

* `GID_BLANK`

  gid为空

* `PUBLICATION_NOT_FOUND`

  Publication没找到

* `APP_NOT_INSTALLED`

  App未安装

* `APP_NOT_PASS_AUDIT`

  App没审核通过

## 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/zh-hans-cn/docs/admin-graph-ql-api/apps/objects/publication-user-error.md).code

  表示错误类型的代码。

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

