如果轉碼失敗,可能是因為參數不支援,如自訂模板中H.265暫時不支援設定Profile;或操作的資源內容存在問題,如OSS設定白名單後導致ApsaraVideo for Media Processing內部服務不能正常訪問,或其他類型錯誤導致。本文從通用錯誤、作業錯誤、管道錯誤和訊息發送錯誤為您介紹ApsaraVideo for Media Processing時常見的錯誤碼。
通用錯誤
錯誤碼 | 描述 | 詳細資料 |
Throttling | 介面限流 | Request was denied due to request throttling. |
InvalidIdentity.ServiceDisabled | 服務未開通或已經被凍結 | The request identity was not allowed operated. |
InvalidParameter | 參數不合法 | The specified parameter \”%s\” is invalid. |
InvalidParameter.NullValue | 參數為空白 | The specified parameter \”%s\” cannot be null. |
InvalidParameter.InvalidState | 狀態無效 | The specified parameter \”%s\” is invalid. |
InvalidParameter.EmptyValue | 參數不可為空 | The specified parameter \”%s\” cannot be empty. |
InvalidParameter.NotSupported | 參數不支援,比如自訂模板中H.265暫時不支援設定Profile | The specified parameter \”%s\” is not supported. |
InternalError | 內部未知錯誤 | The operation has failed due to some unknown error, exception or failure. |
InvalidParameter.OutOfRange | 參數超出範圍 | The specified parameter \”%s\” is out of range. |
InvalidParameter.ResourceNotFound | 操作的資源不存在 | The resource operated \”%s\” cannot be found. |
InvalidParameter.ResourceContentBad | 操作的資源內容存在問題 | The resource operated \”%s\” is bad. |
InvalidParameter.ResourceNotSupported | 操作的資源不被支援,例如:檔案尾碼存在問題 | The resource operated \”%s\” is not supported. |
InvalidParameter.NoAudioStream | 操作的資源沒有音頻流 | The resource has no audio stream. |
InvalidParameter.MergeFileNoVideoOrAudio | 拼接檔案必須同時包含視頻和音頻流 | The merge File must contain video and audio stream at the sametime. |
PermissionDenied.ResourceAccess | 資源存取權限受限 | MTS not authorized to operate on the specified resource \”%s\”. |
PermissionDenied.ResourceQuotaExceed | 資源配額已經被用完 | The resource \”%s\” quota has been used up. |
InvalidParameter.ResourceDeleted | 操作的資源已經被刪除 | The resource operated \”%s\” has been deleted. |
InvalidParameter.JsonFormatInvalid | 參數不是有效JSON字串 | The parameter \”%s\” does not conform to the JSON specification. |
InvalidParameter.JsonObjectFormatInvalid | 參數不是有效JSON Object字串 | The parameter \”%s\” does not conform to the JSON Object specification. |
InvalidParameter.JsonArrayFormatInvalid | 參數不是有效JSON Array字串 | The parameter \”%s\” does not conform to the JSON Array specification. |
InvalidParameter.UUIDFormatInvalid | 無效的ID,不符合UUID規範 | 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 format of parameter \”%s\” is invalid. |
InvalidParameter.NumberFormatInvalid | 數字格式錯誤 | The number format of parameter \”%s\” is invalid. |
InvalidParameter.BucketNameInvalid | 指定的Bucket名稱不符合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 | 指定的Location不符合OSS Location規格 | 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 | 指定的Object名稱不符合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. |
作業錯誤
錯誤碼 | 描述 | 詳細資料 |
PermissionDenied.JobInComplete | 無權取消處於完成的作業 | The Job operated \”%s\” is complete, cannot cancel. |
PermissionDenied.JobInFailure | 無權取消處於失敗狀態的作業 | The Job operated \”%s\” is failure, cannot cancel. |
PermissionDenied.JobInRunning | 無權取消處於執行狀態的作業 | The Job operated \”%s\” is running, cannot cancel. |
InvalidParameter.TemplateNotSupported | 操作的模板不被支援,例如:提交作業時指定的預置模板不在智能分析成功時推薦的預置模板列表中 | The template operated \”%s\” is not supported. |
InvalidParameter.TemplateNotFound | 操作的模板不存在 | The Template operated \”%s\” cannot be found. |
管道錯誤
錯誤碼 | 描述 | 詳細資料 |
NotSupportedJob.SystemTemplateJobNotSupported | Boost 管道不支援系統模板作業 | The Template \”%s\” is a system template,cannot be supported by boost pipeline. |
NotSupportedJob.AnalysisJobNotSupported | Boost 管道不支援分析作業 | Analysis Job cannot be supported by boost pipeline. |
NotSupportedJob.ContainerFormatNotSupported | Boost 管道不支援自訂模板格式為非m3u8格式 | In user defined template \”%s”,container format \”%s” is not m3u8, cannot be supported by boost pipeline. |
NotSupportedJob.DurationIsLessThanHalfAnHour | Boost管道不支援小於半個小時的作業 | Duration is \”%s\” less than half an hour,cannot be supported by boost pipeline. |
訊息發送錯誤
錯誤碼 | 描述 | 詳細資料 |
EntityNotExist.Role | 角色不存在 | The role does not exist. |
AccessDenied | 無許可權發送訊息 | The OwnerId that your AccessKey Idassociated to is forbidden for this operation. |
InvalidQueueName | 無效的隊列名 | The queue name you provided is invalid. QueueName should start with alpha and contain only alpha, digit or - . |
TopicNameInvalid | 主題名稱無效 | The topic name you provided is invalid. TopicName should start with alpha or digit and contain only alpha, digit or -. |
QueueNotExist | 隊列不存在 | The queue name you provided does not exist. |
TopicNotExist | 主題不存在 | The Topic you provided does not exist. |
InvalidArgument | 訊息體超過長度限制 | The length of message must not be larger than MaximumMessageSize. |