Home > @infiniteobjects/shopify-data-manager > AdminTypes > MediaUserErrorCode
Possible error codes that can be returned by MediaUserError
.
Signature:
export declare enum MediaUserErrorCode
Member | Value | Description |
---|---|---|
Blank | "BLANK" |
The input value is blank. |
Invalid | "INVALID" |
The input value is invalid. |
InvalidMediaType | "INVALID_MEDIA_TYPE" |
Invalid media type. |
MaximumVariantMediaPairsExceeded | "MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED" |
Exceeded the maximum number of 100 variant-media pairs per mutation call. |
MediaCannotBeModified | "MEDIA_CANNOT_BE_MODIFIED" |
Media cannot be modified. It is currently being modified by another operation. |
MediaDoesNotExist | "MEDIA_DOES_NOT_EXIST" |
Media does not exist. |
MediaDoesNotExistOnProduct | "MEDIA_DOES_NOT_EXIST_ON_PRODUCT" |
Media does not exist on the given product. |
MediaIsNotAttachedToVariant | "MEDIA_IS_NOT_ATTACHED_TO_VARIANT" |
The specified media is not attached to the specified variant. |
Model3DThrottleExceeded | "MODEL3D_THROTTLE_EXCEEDED" |
Model3d creation throttle was exceeded. |
Model3DValidationError | "MODEL3D_VALIDATION_ERROR" |
Model validation failed. |
NonReadyMedia | "NON_READY_MEDIA" |
Non-ready media are not supported. |
ProductDoesNotExist | "PRODUCT_DOES_NOT_EXIST" |
Product does not exist. |
ProductMediaLimitExceeded | "PRODUCT_MEDIA_LIMIT_EXCEEDED" |
Exceeded the limit of media per product. |
ProductVariantAlreadyHasMedia | "PRODUCT_VARIANT_ALREADY_HAS_MEDIA" |
Product variant already has attached media. |
ProductVariantDoesNotExistOnProduct | "PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT" |
Variant does not exist on the given product. |
ProductVariantSpecifiedMultipleTimes | "PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES" |
Variant specified in more than one pair. |
ShopMediaLimitExceeded | "SHOP_MEDIA_LIMIT_EXCEEDED" |
Exceeded the limit of media per shop. |
TooManyMediaPerInputPair | "TOO_MANY_MEDIA_PER_INPUT_PAIR" |
Only one mediaId is allowed per variant-media input pair. |
VideoThrottleExceeded | "VIDEO_THROTTLE_EXCEEDED" |
Video creation throttle was exceeded. |
VideoValidationError | "VIDEO_VALIDATION_ERROR" |
Video validation failed. |