API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

MediaErrorCode enum

Version unstable

Error types for media.

Values

VIDEO_VALIDATION_ERROR

Video failed validation.

EXTERNAL_VIDEO_NOT_FOUND

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

EXTERNAL_VIDEO_UNLISTED

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

IMAGE_DOWNLOAD_FAILURE

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

IMAGE_PROCESSING_FAILURE

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

INVALID_IMAGE_FILE_SIZE

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

INVALID_SIGNED_URL

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

MEDIA_TIMEOUT_ERROR

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

MODEL3D_GLB_OUTPUT_CREATION_ERROR

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

MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR

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

MODEL3D_THUMBNAIL_GENERATION_ERROR

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

MODEL3D_VALIDATION_ERROR

Model failed validation.

UNKNOWN

Media error has occured for unknown reason.

UNSUPPORTED_IMAGE_FILE_TYPE

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

VIDEO_INVALID_FILETYPE_ERROR

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

VIDEO_MAX_DURATION_ERROR

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

VIDEO_MAX_HEIGHT_ERROR

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

VIDEO_MAX_WIDTH_ERROR

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

VIDEO_METADATA_READ_ERROR

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

VIDEO_MIN_DURATION_ERROR

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

VIDEO_MIN_HEIGHT_ERROR

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

VIDEO_MIN_WIDTH_ERROR

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

EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Types that return MediaErrorCode

Version 2021-01 (Release candidate)

Error types for media.

Values

VIDEO_VALIDATION_ERROR

Video failed validation.

EXTERNAL_VIDEO_NOT_FOUND

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

EXTERNAL_VIDEO_UNLISTED

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

IMAGE_DOWNLOAD_FAILURE

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

IMAGE_PROCESSING_FAILURE

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

INVALID_IMAGE_FILE_SIZE

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

INVALID_SIGNED_URL

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

MEDIA_TIMEOUT_ERROR

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

MODEL3D_GLB_OUTPUT_CREATION_ERROR

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

MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR

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

MODEL3D_THUMBNAIL_GENERATION_ERROR

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

MODEL3D_VALIDATION_ERROR

Model failed validation.

UNKNOWN

Media error has occured for unknown reason.

UNSUPPORTED_IMAGE_FILE_TYPE

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

VIDEO_INVALID_FILETYPE_ERROR

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

VIDEO_MAX_DURATION_ERROR

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

VIDEO_MAX_HEIGHT_ERROR

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

VIDEO_MAX_WIDTH_ERROR

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

VIDEO_METADATA_READ_ERROR

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

VIDEO_MIN_DURATION_ERROR

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

VIDEO_MIN_HEIGHT_ERROR

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

VIDEO_MIN_WIDTH_ERROR

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

EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Types that return MediaErrorCode

Version 2020-10 (Latest)

Error types for media.

Values

VIDEO_VALIDATION_ERROR

Video failed validation.

EXTERNAL_VIDEO_NOT_FOUND

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

EXTERNAL_VIDEO_UNLISTED

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

IMAGE_DOWNLOAD_FAILURE

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

IMAGE_PROCESSING_FAILURE

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

INVALID_IMAGE_FILE_SIZE

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

INVALID_SIGNED_URL

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

MEDIA_TIMEOUT_ERROR

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

MODEL3D_GLB_OUTPUT_CREATION_ERROR

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

MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR

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

MODEL3D_THUMBNAIL_GENERATION_ERROR

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

MODEL3D_VALIDATION_ERROR

Model failed validation.

UNKNOWN

Media error has occured for unknown reason.

UNSUPPORTED_IMAGE_FILE_TYPE

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

VIDEO_INVALID_FILETYPE_ERROR

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

VIDEO_MAX_DURATION_ERROR

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

VIDEO_MAX_HEIGHT_ERROR

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

VIDEO_MAX_WIDTH_ERROR

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

VIDEO_METADATA_READ_ERROR

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

VIDEO_MIN_DURATION_ERROR

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

VIDEO_MIN_HEIGHT_ERROR

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

VIDEO_MIN_WIDTH_ERROR

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

EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Types that return MediaErrorCode

Version 2020-07

Error types for media.

Values

VIDEO_VALIDATION_ERROR

Video failed validation.

EXTERNAL_VIDEO_NOT_FOUND

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

EXTERNAL_VIDEO_UNLISTED

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

IMAGE_DOWNLOAD_FAILURE

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

IMAGE_PROCESSING_FAILURE

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

INVALID_SIGNED_URL

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

MEDIA_TIMEOUT_ERROR

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

MODEL3D_VALIDATION_ERROR

Model failed validation.

UNKNOWN

Media error has occured for unknown reason.

EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Types that return MediaErrorCode

Version 2020-04

Error types for media.

Values

VIDEO_VALIDATION_ERROR

Video failed validation.

EXTERNAL_VIDEO_NOT_FOUND

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

EXTERNAL_VIDEO_UNLISTED

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

IMAGE_DOWNLOAD_FAILURE

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

IMAGE_PROCESSING_FAILURE

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

INVALID_SIGNED_URL

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

MEDIA_TIMEOUT_ERROR

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

MODEL3D_VALIDATION_ERROR

Model failed validation.

UNKNOWN

Media error has occured for unknown reason.

EXTERNAL_VIDEO_INVALID_ASPECT_RATIO

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

Types that return MediaErrorCode

Version 2020-01

Error types for media.

Values

INVALID_SIGNED_URL

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

UNKNOWN

Media error has occured for unknown reason.

Types that return MediaErrorCode

Version 2019-10 (Unsupported)

Error types for media.

Values

INVALID_SIGNED_URL

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

UNKNOWN

Media error has occured for unknown reason.

Types that return MediaErrorCode

Version 2019-07 (Unsupported)

Error types for media.

Values

INVALID_SIGNED_URL

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

UNKNOWN

Media error has occured for unknown reason.

Types that return MediaErrorCode

Version 2019-04 (Unsupported)

Error types for media.

Values

INVALID_SIGNED_URL

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

UNKNOWN

Media error has occured for unknown reason.

Types that return MediaErrorCode