WbReports icon

WbReports

n8n node to interact with WB API

Actions26

Overview

This node interacts with a paid storage service to retrieve information about specific storage tasks based on their Task Id and status. It is useful in scenarios where you need to monitor or manage the progress and details of paid storage operations, such as checking the status of file uploads, data processing tasks, or other storage-related jobs that require payment.

For example, if you have initiated a paid storage task to upload or process data, this node can be used to query the current status of that task by providing its unique Task Id. This helps automate workflows that depend on the completion or state of these storage tasks.

Properties

Name Meaning
Task Id The unique identifier of the paid storage task whose status you want to retrieve.

Output

The node outputs JSON data containing details about the paid storage task identified by the provided Task Id. This typically includes the task's current status, metadata, timestamps, and any relevant results or error messages related to the task.

If the node supports binary data output (not explicitly shown in the code), it would represent files or data blobs associated with the storage task.

Dependencies

  • Requires an API key credential or similar authentication token to access the paid storage service.
  • Depends on the base URL and API schema defined in an external Swagger/OpenAPI JSON file (11-reports_modified.json).
  • Uses an internal library for building properties and making HTTP requests to the service endpoint.

Troubleshooting

  • Common issues:
    • Invalid or missing Task Id will result in errors or empty responses.
    • Authentication failures due to missing or incorrect API credentials.
    • Network connectivity problems when reaching the paid storage service API.
  • Error messages:
    • "Task not found" or similar indicates the Task Id does not exist or is incorrect.
    • "Unauthorized" or "Authentication failed" suggests issues with API credentials.
    • Timeout or connection errors indicate network or service availability problems.
  • Resolutions:
    • Verify the Task Id is correct and corresponds to an existing task.
    • Ensure valid API credentials are configured in n8n.
    • Check network connectivity and service status.

Links and References

  • Refer to the paid storage service API documentation for detailed information on task statuses and response formats.
  • Consult n8n documentation on how to configure API credentials and use custom nodes.

Discussion