Home > @infiniteobjects/shopify-data-manager > AdminTypes > MediaErrorCode
Error types for media.
Signature:
export declare enum MediaErrorCode
| Member | Value | Description |
|---|---|---|
| DuplicateFilenameError | "DUPLICATE_FILENAME_ERROR" |
Media could not be created because a file with the same name already exists. |
| ExternalVideoEmbedDisabled | "EXTERNAL_VIDEO_EMBED_DISABLED" |
Media could not be created because embed permissions are disabled for this video. |
| ExternalVideoEmbedNotFoundOrTranscoding | "EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING" |
Media could not be created because video is either not found or still transcoding. |
| ExternalVideoInvalidAspectRatio | "EXTERNAL_VIDEO_INVALID_ASPECT_RATIO" |
Media could not be created because the external video has an invalid aspect ratio. |
| ExternalVideoNotFound | "EXTERNAL_VIDEO_NOT_FOUND" |
Media could not be created because the external video could not be found. |
| ExternalVideoUnlisted | "EXTERNAL_VIDEO_UNLISTED" |
Media could not be created because the external video is not listed or is private. |
| FileStorageLimitExceeded | "FILE_STORAGE_LIMIT_EXCEEDED" |
Media could not be created because the cumulative file storage limit would be exceeded. |
| GenericFileDownloadFailure | "GENERIC_FILE_DOWNLOAD_FAILURE" |
File could not be processed because the source could not be downloaded. |
| GenericFileInvalidSize | "GENERIC_FILE_INVALID_SIZE" |
File could not be created because the size is too large. |
| ImageDownloadFailure | "IMAGE_DOWNLOAD_FAILURE" |
Media could not be processed because the image could not be downloaded. |
| ImageProcessingFailure | "IMAGE_PROCESSING_FAILURE" |
Media could not be processed because the image could not be processed. |
| InvalidImageAspectRatio | "INVALID_IMAGE_ASPECT_RATIO" |
Media could not be created because the image has an invalid aspect ratio. |
| InvalidImageFileSize | "INVALID_IMAGE_FILE_SIZE" |
Media could not be created because the image size is too large. |
| InvalidImageResolution | "INVALID_IMAGE_RESOLUTION" |
Media could not be created because the image’s resolution exceeds the max limit. |
| InvalidSignedUrl | "INVALID_SIGNED_URL" |
Media could not be processed because the signed URL was invalid. |
| MediaTimeoutError | "MEDIA_TIMEOUT_ERROR" |
Media timed out because it is currently being modified by another operation. |
| Model3DGlbOutputCreationError | "MODEL3D_GLB_OUTPUT_CREATION_ERROR" |
Media could not be created because the model file failed processing. |
| Model3DGlbToUsdzConversionError | "MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR" |
Media could not be created because the model can’t be converted to USDZ format. |
| Model3DProcessingFailure | "MODEL3D_PROCESSING_FAILURE" |
Media could not be created because the model file failed processing. |
| Model3DThumbnailGenerationError | "MODEL3D_THUMBNAIL_GENERATION_ERROR" |
Media could not be created because the model’s thumbnail generation failed. |
| Model3DThumbnailRegenerationError | "MODEL3D_THUMBNAIL_REGENERATION_ERROR" |
There was an issue while trying to generate a new thumbnail. |
| Model3DValidationError | "MODEL3D_VALIDATION_ERROR" |
Model failed validation. |
| Unknown | "UNKNOWN" |
Media error has occured for unknown reason. |
| UnsupportedImageFileType | "UNSUPPORTED_IMAGE_FILE_TYPE" |
Media could not be created because the image is an unsupported file type. |
| VideoInvalidFiletypeError | "VIDEO_INVALID_FILETYPE_ERROR" |
Media could not be created because it has an invalid file type. |
| VideoMaxDurationError | "VIDEO_MAX_DURATION_ERROR" |
Media could not be created because it does not meet the maximum duration requirement. |
| VideoMaxHeightError | "VIDEO_MAX_HEIGHT_ERROR" |
Media could not be created because it does not meet the maximum height requirement. |
| VideoMaxWidthError | "VIDEO_MAX_WIDTH_ERROR" |
Media could not be created because it does not meet the maximum width requirement. |
| VideoMetadataReadError | "VIDEO_METADATA_READ_ERROR" |
Media could not be created because the metadata could not be read. |
| VideoMinDurationError | "VIDEO_MIN_DURATION_ERROR" |
Media could not be created because it does not meet the minimum duration requirement. |
| VideoMinHeightError | "VIDEO_MIN_HEIGHT_ERROR" |
Media could not be created because it does not meet the minimum height requirement. |
| VideoMinWidthError | "VIDEO_MIN_WIDTH_ERROR" |
Media could not be created because it does not meet the minimum width requirement. |
| VideoValidationError | "VIDEO_VALIDATION_ERROR" |
Video failed validation. |