Overview
This node integrates with Tencent Video on Demand (VOD) service to manage media processing tasks. Specifically, the Submit Task operation allows users to submit various types of media processing jobs to Tencent VOD by providing a detailed task request body. This is useful for automating workflows such as video transcoding, editing, or other media transformations supported by Tencent's API.
Practical scenarios include:
- Submitting a video transcoding job with specific parameters.
- Automating media processing pipelines where different task types are required.
- Integrating Tencent VOD media processing into larger automation workflows in n8n.
Properties
Name | Meaning |
---|---|
Task Request Body | The JSON object representing the media processing task request. Supports various task types. |
Example value for "Task Request Body" might be a JSON structure defining the processing instructions, e.g., specifying input files, output formats, and processing options.
Output
The node outputs an array of JSON objects, each corresponding to one submitted task. Each object contains:
success
: Boolean indicating if the submission was successful.taskId
: The unique identifier of the submitted media processing task.status
: The current status of the task as returned by Tencent VOD.response
: The full response object from Tencent VOD API for the submitted task.
This output allows downstream nodes to track task IDs and statuses or handle errors accordingly.
Dependencies
- Requires an API key credential for Tencent VOD with appropriate permissions.
- Uses Tencent VOD API endpoints over HTTPS.
- Node expects credentials containing a secret ID and secret key for authentication.
- No additional environment variables are explicitly required beyond the credential setup.
Troubleshooting
Common Issues
- Missing or invalid credentials: The node requires valid Tencent VOD API credentials; ensure these are correctly configured.
- Malformed task request body: The JSON provided in the "Task Request Body" must conform to Tencent VOD API specifications. Invalid JSON or missing required fields will cause errors.
- API errors from Tencent VOD: Errors returned by the API (e.g., invalid parameters, quota exceeded) will be surfaced as error messages.
Error Messages
"Tencent VOD API error: <message>"
— Indicates an error response from Tencent VOD. Check the message for details."Failed to submit task: <response>"
— The API response did not contain expected data; verify the request body and credentials."Missing required Action parameter"
— Internal error if the API call lacks the necessary action field; usually indicates a coding or configuration issue.
To resolve errors:
- Verify credentials and permissions.
- Validate the JSON structure of the task request body.
- Consult Tencent VOD API documentation for correct parameters.