Overview
This node enables users to upload videos to Tencent Video on Demand (VOD) service by providing a URL of the video file and specifying a name for the video within the VOD platform. It is useful in scenarios where you want to automate the process of adding video content hosted elsewhere into Tencent's VOD system, such as migrating video libraries, integrating external video sources, or automating video publishing workflows.
For example, you might have a publicly accessible video URL and want to import it into your Tencent VOD account with a specific title, all triggered automatically from an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Media URL | The URL address of the video file to be uploaded. |
| Video Name | The name under which the video will be stored and identified in Tencent VOD. |
Output
The node outputs a JSON array where each item corresponds to one upload operation. Each item contains:
success: A boolean indicating whether the upload task was successfully initiated.taskId: The unique identifier of the upload task returned by Tencent VOD.videoName: The name assigned to the video in Tencent VOD.
Example output JSON item:
{
"success": true,
"taskId": "some-task-id",
"videoName": "My Uploaded Video"
}
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for Tencent VOD with appropriate permissions to perform video uploads.
- The node makes HTTPS requests to Tencent VOD API endpoints.
- No additional environment variables are explicitly required beyond the configured credentials.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an invalid or inaccessible media URL will result in upload errors.
- Network connectivity problems can cause request timeouts or failures.
Error messages:
"腾讯云API错误: <message>"indicates an error response from Tencent Cloud API; check the message for details such as permission issues or invalid parameters."解析响应失败: <response>"means the node failed to parse the API response, possibly due to unexpected format or network issues."获取上传信息失败: <details>"means the upload initiation did not return expected data; verify input parameters and API status."腾讯云VOD错误: <message>"is a general catch-all for errors during execution; review the inner message for specifics.
To resolve these errors, ensure that the API credentials are valid and have upload permissions, verify the media URL is correct and accessible, and confirm network connectivity to Tencent Cloud services.