Skip to main content
enum

Error types for media.

Anchor to DUPLICATE_FILENAME_ERRORDUPLICATE_FILENAME_ERROR

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

Anchor to EXTERNAL_VIDEO_EMBED_DISABLEDEXTERNAL_VIDEO_EMBED_DISABLED

Media 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

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

Anchor to EXTERNAL_VIDEO_INVALID_ASPECT_RATIOEXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Anchor to EXTERNAL_VIDEO_NOT_FOUNDEXTERNAL_VIDEO_NOT_FOUND

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

Anchor to EXTERNAL_VIDEO_UNLISTEDEXTERNAL_VIDEO_UNLISTED

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

Anchor to FILE_STORAGE_LIMIT_EXCEEDEDFILE_STORAGE_LIMIT_EXCEEDED

Media 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

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

Anchor to IMAGE_PROCESSING_FAILUREIMAGE_PROCESSING_FAILURE

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

Anchor to INVALID_IMAGE_ASPECT_RATIOINVALID_IMAGE_ASPECT_RATIO

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

Anchor to INVALID_IMAGE_FILE_SIZEINVALID_IMAGE_FILE_SIZE

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

Anchor to INVALID_IMAGE_RESOLUTIONINVALID_IMAGE_RESOLUTION

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

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

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

Anchor to MODEL3D_GLB_OUTPUT_CREATION_ERRORMODEL3D_GLB_OUTPUT_CREATION_ERROR

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

Anchor to MODEL3D_GLB_TO_USDZ_CONVERSION_ERRORMODEL3D_GLB_TO_USDZ_CONVERSION_ERROR

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

Anchor to MODEL3D_PROCESSING_FAILUREMODEL3D_PROCESSING_FAILURE

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

Anchor to MODEL3D_THUMBNAIL_GENERATION_ERRORMODEL3D_THUMBNAIL_GENERATION_ERROR

Media 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.

Media error has occured for unknown reason.

Anchor to UNSUPPORTED_IMAGE_FILE_TYPEUNSUPPORTED_IMAGE_FILE_TYPE

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

Anchor to VIDEO_INVALID_FILETYPE_ERRORVIDEO_INVALID_FILETYPE_ERROR

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

Anchor to VIDEO_MAX_DURATION_ERRORVIDEO_MAX_DURATION_ERROR

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

Anchor to VIDEO_MAX_HEIGHT_ERRORVIDEO_MAX_HEIGHT_ERROR

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

Anchor to VIDEO_MAX_WIDTH_ERRORVIDEO_MAX_WIDTH_ERROR

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

Anchor to VIDEO_METADATA_READ_ERRORVIDEO_METADATA_READ_ERROR

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

Anchor to VIDEO_MIN_DURATION_ERRORVIDEO_MIN_DURATION_ERROR

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

Anchor to VIDEO_MIN_HEIGHT_ERRORVIDEO_MIN_HEIGHT_ERROR

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

Anchor to VIDEO_MIN_WIDTH_ERRORVIDEO_MIN_WIDTH_ERROR

Media 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?