Octoparse icon

Octoparse

Interact with Octoparse API

Cloud Extraction → Stop Task

AI-generated

Overview

This node operation stops a running cloud extraction task in Octoparse. It is useful when you want to halt a specific data extraction task that is currently active in the Octoparse cloud environment. For example, if a task is running longer than expected or needs to be stopped due to changes in requirements, this operation allows you to programmatically stop that task by specifying its task group and task ID.

Use Case Examples

  1. Stopping a cloud extraction task that is no longer needed to save resources.
  2. Halting a task that is running into errors or unexpected behavior during data extraction.

Properties

Name Meaning
Task Group Select the task group to find the task in. This is required to identify the context of the task within Octoparse's task groups.
Task Select the specific task to stop within the chosen task group. This identifies the exact task to be stopped.

Output

JSON

  • taskId - The ID of the task that was requested to stop.
  • status - The status response from the API indicating the result of the stop task request.

Dependencies

  • Octoparse API key credential for authentication

Troubleshooting

  • Ensure the taskGroupId and taskId are correctly selected and valid; invalid IDs will cause API errors.
  • If the task is already stopped or does not exist, the API may return an error or a status indicating no action was taken.
  • Network or authentication issues with the Octoparse API can cause request failures; verify API credentials and network connectivity.

Links

Discussion