Error types for media.


value-duplicatefilenameerror
DUPLICATE_FILENAME_ERROR

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

value-externalvideoembeddisabled
EXTERNAL_VIDEO_EMBED_DISABLED

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

value-externalvideoembednotfoundortranscoding
EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING

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

value-externalvideoinvalidaspectratio
EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

value-externalvideonotfound
EXTERNAL_VIDEO_NOT_FOUND

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

value-externalvideounlisted
EXTERNAL_VIDEO_UNLISTED

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

value-filestoragelimitexceeded
FILE_STORAGE_LIMIT_EXCEEDED

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

value-genericfiledownloadfailure
GENERIC_FILE_DOWNLOAD_FAILURE

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

value-genericfileinvalidsize
GENERIC_FILE_INVALID_SIZE

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

value-imagedownloadfailure
IMAGE_DOWNLOAD_FAILURE

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

value-imageprocessingfailure
IMAGE_PROCESSING_FAILURE

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

value-invalidimageaspectratio
INVALID_IMAGE_ASPECT_RATIO

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

value-invalidimagefilesize
INVALID_IMAGE_FILE_SIZE

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

value-invalidimageresolution
INVALID_IMAGE_RESOLUTION

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

value-invalidsignedurl
INVALID_SIGNED_URL

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

value-mediatimeouterror
MEDIA_TIMEOUT_ERROR

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

value-model3dglboutputcreationerror
MODEL3D_GLB_OUTPUT_CREATION_ERROR

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

value-model3dglbtousdzconversionerror
MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR

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

value-model3dprocessingfailure
MODEL3D_PROCESSING_FAILURE

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

value-model3dthumbnailgenerationerror
MODEL3D_THUMBNAIL_GENERATION_ERROR

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

value-model3dthumbnailregenerationerror
MODEL3D_THUMBNAIL_REGENERATION_ERROR

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

value-model3dvalidationerror
MODEL3D_VALIDATION_ERROR

Model failed validation.

Media error has occured for unknown reason.

value-unsupportedimagefiletype
UNSUPPORTED_IMAGE_FILE_TYPE

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

value-videoinvalidfiletypeerror
VIDEO_INVALID_FILETYPE_ERROR

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

value-videomaxdurationerror
VIDEO_MAX_DURATION_ERROR

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

value-videomaxheighterror
VIDEO_MAX_HEIGHT_ERROR

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

value-videomaxwidtherror
VIDEO_MAX_WIDTH_ERROR

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

value-videometadatareaderror
VIDEO_METADATA_READ_ERROR

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

value-videomindurationerror
VIDEO_MIN_DURATION_ERROR

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

value-videominheighterror
VIDEO_MIN_HEIGHT_ERROR

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

value-videominwidtherror
VIDEO_MIN_WIDTH_ERROR

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

value-videovalidationerror
VIDEO_VALIDATION_ERROR

Video failed validation.


Was this section helpful?

Code representing the type of error.


Was this section helpful?
Map
MediaErrorCode

Fields from