Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

enum

The error types for a file.

Anchor to DUPLICATE_FILENAME_ERRORDUPLICATE_FILENAME_ERROR
•

File could not be created because a file with the same name already exists.

Anchor to EXTERNAL_VIDEO_EMBED_DISABLEDEXTERNAL_VIDEO_EMBED_DISABLED
•

File could not be created because embed permissions are disabled for this video.

Anchor to EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODINGEXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING
•

File could not be created because video is either not found or still transcoding.

Anchor to EXTERNAL_VIDEO_INVALID_ASPECT_RATIOEXTERNAL_VIDEO_INVALID_ASPECT_RATIO
•

File could not be created because the external video has an invalid aspect ratio.

Anchor to EXTERNAL_VIDEO_NOT_FOUNDEXTERNAL_VIDEO_NOT_FOUND
•

File could not be created because the external video could not be found.

Anchor to EXTERNAL_VIDEO_UNLISTEDEXTERNAL_VIDEO_UNLISTED
•

File could not be created because the external video is not listed or is private.

Anchor to FILE_STORAGE_LIMIT_EXCEEDEDFILE_STORAGE_LIMIT_EXCEEDED
•

File could not be created because the cumulative file storage limit would be exceeded.

Anchor to GENERIC_FILE_DOWNLOAD_FAILUREGENERIC_FILE_DOWNLOAD_FAILURE
•

File could not be processed because the source could not be downloaded.

Anchor to GENERIC_FILE_INVALID_SIZEGENERIC_FILE_INVALID_SIZE
•

File could not be created because the size is too large.

Anchor to IMAGE_DOWNLOAD_FAILUREIMAGE_DOWNLOAD_FAILURE
•

File could not be processed because the image could not be downloaded.

Anchor to IMAGE_PROCESSING_FAILUREIMAGE_PROCESSING_FAILURE
•

File could not be processed because the image could not be processed.

Anchor to INVALID_IMAGE_ASPECT_RATIOINVALID_IMAGE_ASPECT_RATIO
•

File could not be created because the image has an invalid aspect ratio.

Anchor to INVALID_IMAGE_FILE_SIZEINVALID_IMAGE_FILE_SIZE
•

File could not be created because the image size is too large.

Anchor to INVALID_IMAGE_RESOLUTIONINVALID_IMAGE_RESOLUTION
•

File could not be created because the image's resolution exceeds the max limit.

•

File could not be processed because the signed URL was invalid.

•

File timed out because it is currently being modified by another operation.

Anchor to MODEL3D_GLB_OUTPUT_CREATION_ERRORMODEL3D_GLB_OUTPUT_CREATION_ERROR
•

File could not be created because the model file failed processing.

Anchor to MODEL3D_GLB_TO_USDZ_CONVERSION_ERRORMODEL3D_GLB_TO_USDZ_CONVERSION_ERROR
•

File could not be created because the model can't be converted to USDZ format.

Anchor to MODEL3D_PROCESSING_FAILUREMODEL3D_PROCESSING_FAILURE
•

File could not be created because the model file failed processing.

Anchor to MODEL3D_THUMBNAIL_GENERATION_ERRORMODEL3D_THUMBNAIL_GENERATION_ERROR
•

File could not be created because the model's thumbnail generation failed.

Anchor to MODEL3D_THUMBNAIL_REGENERATION_ERRORMODEL3D_THUMBNAIL_REGENERATION_ERROR
•

There was an issue while trying to generate a new thumbnail.

Anchor to MODEL3D_VALIDATION_ERRORMODEL3D_VALIDATION_ERROR
•

Model failed validation.

•

File error has occurred for an unknown reason.

Anchor to UNSUPPORTED_IMAGE_FILE_TYPEUNSUPPORTED_IMAGE_FILE_TYPE
•

File could not be created because the image is an unsupported file type.

Anchor to VIDEO_INVALID_FILETYPE_ERRORVIDEO_INVALID_FILETYPE_ERROR
•

File could not be created because it has an invalid file type.

Anchor to VIDEO_MAX_DURATION_ERRORVIDEO_MAX_DURATION_ERROR
•

File could not be created because it does not meet the maximum duration requirement.

Anchor to VIDEO_MAX_HEIGHT_ERRORVIDEO_MAX_HEIGHT_ERROR
•

File could not be created because it does not meet the maximum height requirement.

Anchor to VIDEO_MAX_WIDTH_ERRORVIDEO_MAX_WIDTH_ERROR
•

File could not be created because it does not meet the maximum width requirement.

Anchor to VIDEO_METADATA_READ_ERRORVIDEO_METADATA_READ_ERROR
•

File could not be created because the metadata could not be read.

Anchor to VIDEO_MIN_DURATION_ERRORVIDEO_MIN_DURATION_ERROR
•

File could not be created because it does not meet the minimum duration requirement.

Anchor to VIDEO_MIN_HEIGHT_ERRORVIDEO_MIN_HEIGHT_ERROR
•

File could not be created because it does not meet the minimum height requirement.

Anchor to VIDEO_MIN_WIDTH_ERRORVIDEO_MIN_WIDTH_ERROR
•

File could not be created because it does not meet the minimum width requirement.

Anchor to VIDEO_VALIDATION_ERRORVIDEO_VALIDATION_ERROR
•

Video failed validation.


Was this section helpful?

•
OBJECT

Code representing the type of error.


Was this section helpful?