Response

最終更新日:2023-12-27 17:29:19

Response Description

Successful Request

If the request is successful, a JSON with the following content will be returned:

{
    "persistentId": "<persistentId>"
}

The persistentId serves as a unique identifier for tracking your task. Should any issues arise with your request, this ID can also be provided to our support team for troubleshooting purposes.

The persistentId only confirms that your request has been successfully submitted to the system. It does not guarantee that the media processing task has been successfully completed. To monitor the status of your media processing task, it is recommended to configure a callback and review the notifications provided there.

Failed Request

If the request fails, a JSON with the following content is returned:

{
    "code": "<HTTR RESPONSE CODE>",
    "message": "<ERROR MESSAGE>"
}
Field Name Description
code The HTTP request response code, see details in HTTP Response Code.
message A prompt message indicating the reason for audio and video processing failure.

HTTP Response Code

Type Code Response Message Description
General 200 OK The operation was successful.
General 304 Not Modified The file is up-to-date and no modifications were made.
General 401 Authorization Required An Authorization header is required for this request.
General 401 AK/SK Not Found The AccessKey (AK) or AccessKey Secret (SK) was not found.
General 401 Token Invalid The request token provided is incorrect.
General 401 ExpireTime Is Null The ExpireTime field is empty.
General 401 Token Format Invalid The format of the request token is incorrect.
General 404 Bucket Not Found The bucket in the request does not exist.
General 404 File Not Found The requested file was not found.
General 404 bucketErrorPage The requested resource was not found.
General 405 Token Required A token is required for this request.
General 406 File Already Exist The file already exists.
General 401 The Persistent File Already Exists The persistent file already exists.
General 406 File Is Busy, Please Retry Later The file is being processed. Please retry later.
General 404 Bucket Not Binding Mirror The requested bucket is not bound to a mirror source.
General 401 Bucket Access Denied Access to the requested bucket is denied.
General 500 Internal Server Error An internal server error has occurred.
Image Processing 404 Watermark Image Url Invalid The URL for the watermark image is invalid.
Image Processing 404 WaterMark Image Not Found The watermark image could not be found.
Image Processing 401 Bucket Open Image Protect Function,Unable To Get Original Image Access to the original image is denied due to enabled image protection.
Image Processing 401 Non-standard Type Of Op The type of operation requested is invaild.
Image Processing 401 Image Process Param Error There was an error in the fops .
Image Processing 579 Get WaterMark Image Fail Download of the watermark image failed.
Media Processing 400 Tranfer Parameters Error Transcoding parameters error.
Media Processing 401 Ops Invalid The fops in the request is invalid.
Media Processing 404 Video Persistent Progress Info Not Found Information about the file’s processing task was not found.
Media Processing 579 Json Response An exception occurred in the callback to the business server’s response.