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

# Article​Create​User​Error​Code

enum

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

## Valid values

* AMBIGUOUS\_​AUTHOR

  Can't create an article author if both author name and user ID are supplied.

* AMBIGUOUS\_​BLOG

  Can't create a blog from input if a blog ID is supplied.

* AUTHOR\_​FIELD\_​REQUIRED

  Can't create an article if both author name and user ID are blank.

* AUTHOR\_​MUST\_​EXIST

  User must exist if a user ID is supplied.

* BLANK

  The input value is blank.

* BLOG\_​REFERENCE\_​REQUIRED

  Must reference or create a blog when creating an article.

* INVALID

  The input value is invalid.

* INVALID\_​PUBLISH\_​DATE

  Can’t set isPublished to true and also set a future publish date.

* INVALID\_​TYPE

  The metafield type is invalid.

* INVALID\_​VALUE

  The value is invalid for the metafield type or for the definition options.

* NOT\_​FOUND

  The record with the ID used as the input value couldn't be found.

* TAKEN

  The input value is already taken.

* TOO\_​LONG

  The input value is too long.

* UPLOAD\_​FAILED

  Image upload failed.

***

## Fields

* [Article​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/ArticleCreateUserError#field-ArticleCreateUserError.fields.code)

  OBJECT

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

***

## Map

### Fields with this enum

* [Article​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/ArticleCreateUserError#field-ArticleCreateUserError.fields.code)
