Transcoding failures may be caused due to an unsupported parameter, invalid resource content, and other errors. For example, the Profile parameter is not supported for H.265 encoding jobs that use custom templates. For another example, ApsaraVideo Media Processing (MPS) fails to access resources in an Object Storage Service (OSS) bucket because an IP address whitelist is configured for the bucket. This topic describes the error codes for common errors, job-related errors, MPS queue-related errors, and message-related errors that may occur in MPS.
Common errors
Error code | Description | Error message |
Throttling | The request was throttled. | Request was denied due to request throttling. |
InvalidIdentity.ServiceDisabled | The service is not activated or is frozen. | The request identity was not allowed operated. |
InvalidParameter | The specified parameter is invalid. | The specified parameter \"%s\" is invalid. |
InvalidParameter.NullValue | The parameter is set to null. | The specified parameter \"%s\" cannot be null. |
InvalidParameter.InvalidState | The status is invalid. | The specified parameter \"%s\" is invalid. |
InvalidParameter.EmptyValue | The parameter is left empty. | The specified parameter \"%s\" cannot be empty. |
InvalidParameter.NotSupported | The parameter is not supported. For example, the Profile parameter is not supported for H.265 encoding jobs that use custom templates. | The specified parameter \"%s\" is not supported. |
InternalError | An unknown internal error occurred. | The operation has failed due to some unknown error, exception or failure. |
InvalidParameter.OutOfRange | The specified parameter value is beyond the valid range. | The specified parameter \"%s\" is out of range. |
InvalidParameter.ResourceNotFound | The specified resource does not exist. | The resource operated \"%s\" cannot be found. |
InvalidParameter.ResourceContentBad | The resource content is invalid. | The resource operated \"%s\" is bad. |
InvalidParameter.ResourceNotSupported | The specified resource is not supported. For example, the file name extension is invalid. | The resource operated \"%s\" is not supported. |
InvalidParameter.NoAudioStream | The specified resource does not contain an audio stream. | The resource has no audio stream. |
InvalidParameter.MergeFileNoVideoOrAudio | The merged files do not contain audio and video streams at the same time. | The merge File must contain video and audio stream at the sametime. |
PermissionDenied.ResourceAccess | The access to the specified resource is denied. | MTS not authorized to operate on the specified resource \"%s\". |
PermissionDenied.ResourceQuotaExceed | The resource quota has been used up. | The resource \"%s\" quota has been used up. |
InvalidParameter.ResourceDeleted | The specified resource has been deleted. | The resource operated \"%s\" has been deleted. |
InvalidParameter.JsonFormatInvalid | The specified parameter value is not a valid JSON string. | The parameter \"%s\" does not conform to the JSON specification. |
InvalidParameter.JsonObjectFormatInvalid | The specified parameter value is not a valid JSON object. | The parameter \"%s\" does not conform to the JSON Object specification. |
InvalidParameter.JsonArrayFormatInvalid | The specified parameter value is not a valid JSON array. | The parameter \"%s\" does not conform to the JSON Array specification. |
InvalidParameter.UUIDFormatInvalid | The specified ID is invalid. The ID must conform to the UUID specification. | The parameter \"%s\" is invalid.A uuid must:1)be comprised of chracters[a-f],numbers[0-9];2)be 32 characters long. |
InvalidParameter.Format | The parameter format is invalid. | The format of parameter \"%s\" is invalid. |
InvalidParameter.NumberFormatInvalid | The number format is invalid. | The number format of parameter \"%s\" is invalid. |
InvalidParameter.BucketNameInvalid | The specified bucket name is invalid. The name must conform to the naming conventions for an OSS bucket. | The bucket name \"%s\" is invalid. A bucket name must: 1) be comprised of lower-case characters, numbers, underscore(_) or dash(-); 2) start with lower case or numbers; 3) be between 3-255 characters long. |
InvalidParameter.LocationInvalid | The specified region is invalid. The specified region must support MPS. | The location \"%s\" is invalid. A location name shoud be one of five:oss-cn-hangzhou,oss-cn-qingdao,oss-cn-beijing,oss-cn-hongkong,oss-cn-shenzhen.And now MTS only support oss-cn-hangzhou. |
InvalidParameter.ObjectKeyInvalid | The specified object name is invalid. The object name must conform to the naming conventions for an OSS object. | The object key \"%s\" is invalid. An object name should be between 1 - 1023 bytes long when encoded as UTF-8 and cannot contain LF or CR or unsupported chars in XML1.0. |
Job-related errors
Error code | Description | Error message |
PermissionDenied.JobInComplete | Completed jobs cannot be canceled. | The Job operated \"s\" is complete, cannot cancel. |
PermissionDenied.JobInFailure | Failed jobs cannot be canceled. | The Job operated \"%s\" is failure, cannot cancel. |
PermissionDenied.JobInRunning | Jobs that are running cannot be canceled. | The Job operated \"%s\" is running, cannot cancel. |
InvalidParameter.TemplateNotSupported | The specified template is not supported. For example, the template that you used to submit the job is not included in the recommended template list returned from a successful intelligent template analysis. | The template operated \"%s\" is not supported. |
InvalidParameter.TemplateNotFound | The specified template does not exist. | The Template operated \"%s\" cannot be found. |
MPS queue-related errors
Error code | Description | Error message |
NotSupportedJob.SystemTemplateJobNotSupported | Jobs that use the preset templates cannot be processed in an MPS queue whose transcoding speed is boosted. | The Template \"%s\" is a system template,cannot be supported by boost pipeline. |
NotSupportedJob.AnalysisJobNotSupported | Analysis jobs cannot be processed in an MPS queue whose transcoding speed is boosted. | Analysis Job cannot be supported by boost pipeline. |
NotSupportedJob.ContainerFormatNotSupported | Jobs that use custom templates in a non-M3U8 format cannot be processed in an MPS queue whose transcoding speed is boosted. | In user defined template \"%s",container format \"%s" is not m3u8, cannot be supported by boost pipeline. |
NotSupportedJob.DurationIsLessThanHalfAnHour | Jobs whose duration is shorter than 30 minutes cannot be processed in an MPS queue whose transcoding speed is boosted. | Duration is \"%s\" less than half an hour,cannot be supported by boost pipeline. |
Message-related errors
Error code | Description | Error message |
EntityNotExist.Role | The specified role does not exist. | The role does not exist. |
AccessDenied | You are not authorized to send messages. | The OwnerId that your AccessKey Idassociated to is forbidden for this operation. |
InvalidQueueName | The specified queue name is invalid. | The queue name you provided is invalid. QueueName should start with alpha and contain only alpha, digit or - . |
TopicNameInvalid | The specified topic name is invalid. | The topic name you provided is invalid. TopicName should start with alpha or digit and contain only alpha, digit or -. |
QueueNotExist | The specified queue does not exist. | The queue name you provided does not exist. |
TopicNotExist | The specified topic does not exist. | The Topic you provided does not exist. |
InvalidArgument | The length of the message body exceeds the limit. | The length of message must not be larger than MaximumMessageSize. |