Article Create User Error Code
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.
Anchor to FieldsFields
- •OBJECT
An error that occurs during the execution of
.