stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > FileErrorCode

AdminTypes.FileErrorCode enum

The error types for a file.

Signature:

export declare enum FileErrorCode 

Enumeration Members

Member Value Description
DuplicateFilenameError "DUPLICATE_FILENAME_ERROR" File could not be created because a file with the same name already exists.
ExternalVideoEmbedDisabled "EXTERNAL_VIDEO_EMBED_DISABLED" File could not be created because embed permissions are disabled for this video.
ExternalVideoEmbedNotFoundOrTranscoding "EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING" File could not be created because video is either not found or still transcoding.
ExternalVideoInvalidAspectRatio "EXTERNAL_VIDEO_INVALID_ASPECT_RATIO" File could not be created because the external video has an invalid aspect ratio.
ExternalVideoNotFound "EXTERNAL_VIDEO_NOT_FOUND" File could not be created because the external video could not be found.
ExternalVideoUnlisted "EXTERNAL_VIDEO_UNLISTED" File could not be created because the external video is not listed or is private.
FileStorageLimitExceeded "FILE_STORAGE_LIMIT_EXCEEDED" File 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" File could not be processed because the image could not be downloaded.
ImageProcessingFailure "IMAGE_PROCESSING_FAILURE" File could not be processed because the image could not be processed.
InvalidImageAspectRatio "INVALID_IMAGE_ASPECT_RATIO" File could not be created because the image has an invalid aspect ratio.
InvalidImageFileSize "INVALID_IMAGE_FILE_SIZE" File could not be created because the image size is too large.
InvalidImageResolution "INVALID_IMAGE_RESOLUTION" File could not be created because the image’s resolution exceeds the max limit.
InvalidSignedUrl "INVALID_SIGNED_URL" File could not be processed because the signed URL was invalid.
MediaTimeoutError "MEDIA_TIMEOUT_ERROR" File timed out because it is currently being modified by another operation.
Model3DGlbOutputCreationError "MODEL3D_GLB_OUTPUT_CREATION_ERROR" File could not be created because the model file failed processing.
Model3DGlbToUsdzConversionError "MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR" File could not be created because the model can’t be converted to USDZ format.
Model3DProcessingFailure "MODEL3D_PROCESSING_FAILURE" File could not be created because the model file failed processing.
Model3DThumbnailGenerationError "MODEL3D_THUMBNAIL_GENERATION_ERROR" File 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" File error has occurred for an unknown reason.
UnsupportedImageFileType "UNSUPPORTED_IMAGE_FILE_TYPE" File could not be created because the image is an unsupported file type.
VideoInvalidFiletypeError "VIDEO_INVALID_FILETYPE_ERROR" File could not be created because it has an invalid file type.
VideoMaxDurationError "VIDEO_MAX_DURATION_ERROR" File could not be created because it does not meet the maximum duration requirement.
VideoMaxHeightError "VIDEO_MAX_HEIGHT_ERROR" File could not be created because it does not meet the maximum height requirement.
VideoMaxWidthError "VIDEO_MAX_WIDTH_ERROR" File could not be created because it does not meet the maximum width requirement.
VideoMetadataReadError "VIDEO_METADATA_READ_ERROR" File could not be created because the metadata could not be read.
VideoMinDurationError "VIDEO_MIN_DURATION_ERROR" File could not be created because it does not meet the minimum duration requirement.
VideoMinHeightError "VIDEO_MIN_HEIGHT_ERROR" File could not be created because it does not meet the minimum height requirement.
VideoMinWidthError "VIDEO_MIN_WIDTH_ERROR" File could not be created because it does not meet the minimum width requirement.
VideoValidationError "VIDEO_VALIDATION_ERROR" Video failed validation.