Anchor to section titled 'undefined'

ArticleCreateUserErrorCode
enum

Possible error codes that can be returned by ArticleCreateUserError.


value-ambiguousauthor
AMBIGUOUS_AUTHOR

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

value-ambiguousblog
AMBIGUOUS_BLOG

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

value-authorfieldrequired
AUTHOR_FIELD_REQUIRED

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

value-authormustexist
AUTHOR_MUST_EXIST

User must exist if a user ID is supplied.

value-blogreferencerequired
BLOG_REFERENCE_REQUIRED

Must reference or create a blog when creating an article.

value-invalidpublishdate
INVALID_PUBLISH_DATE

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

value-invalidtype
INVALID_TYPE

The metafield type is invalid.

value-invalidvalue
INVALID_VALUE

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

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

The input value is already taken.

The input value is too long.

value-uploadfailed
UPLOAD_FAILED

Image upload failed.


Was this section helpful?

The error code.


Was this section helpful?
Map
ArticleCreateUserErrorCode

Fields from