Skip to main content
Log inSign up
Anchor to ArticleCreateUserErrorCode

ArticleCreateUserErrorCode

enum

Possible error codes that can be returned by ArticleCreateUserError.

•

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

•

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

Anchor to AUTHOR_FIELD_REQUIREDAUTHOR_FIELD_REQUIRED
•

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

•

User must exist if a user ID is supplied.

•

The input value is blank.

Anchor to BLOG_REFERENCE_REQUIREDBLOG_REFERENCE_REQUIRED
•

Must reference or create a blog when creating an article.

•

The input value is invalid.

Anchor to INVALID_PUBLISH_DATEINVALID_PUBLISH_DATE
•

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

•

The metafield type is invalid.

•

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.

•

Image upload failed.


Was this section helpful?


Was this section helpful?