ArticleCreateUserErrorCode
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to AMBIGUOUS_AUTHORAMBIGUOUS_AUTHOR•
Can't create an article author if both author name and user ID are supplied.
- Anchor to AMBIGUOUS_BLOGAMBIGUOUS_BLOG•
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.
- Anchor to AUTHOR_MUST_EXISTAUTHOR_MUST_EXIST•
User must exist if a user ID is supplied.
- Anchor to BLANKBLANK•
The input value is blank.
- Anchor to BLOG_REFERENCE_REQUIREDBLOG_REFERENCE_REQUIRED•
Must reference or create a blog when creating an article.
- Anchor to INVALIDINVALID•
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.
- Anchor to INVALID_TYPEINVALID_TYPE•
The metafield type is invalid.
- Anchor to INVALID_VALUEINVALID_VALUE•
The value is invalid for the metafield type or for the definition options.
- Anchor to NOT_FOUNDNOT_FOUND•
The record with the ID used as the input value couldn't be found.
- Anchor to TAKENTAKEN•
The input value is already taken.
- Anchor to TOO_LONGTOO_LONG•
The input value is too long.
- Anchor to UPLOAD_FAILEDUPLOAD_FAILED•
Image upload failed.