h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation allows users to stop a specific job that is currently running under their user account. It is useful in scenarios where a job needs to be canceled before completion, such as when the job is taking too long, was started by mistake, or the results are no longer needed. For example, if a data processing or import job is running and the user decides to halt it, this operation can be used to send a cancellation request for that particular job.

Properties

Name Meaning
Job ID The unique identifier of the job to be stopped. This is a required string input.

Output

The output of this operation will contain the full HTTP response from the API call to cancel the job. The json field typically includes details about the cancellation status or confirmation. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node sends a POST request to the endpoint /jobs/{job_id}/cancel where {job_id} is the provided Job ID.
  • The base URL for the API is configured via credentials and must be set correctly in the node's credentials configuration.

Troubleshooting

  • Invalid Job ID: If the provided Job ID does not exist or is incorrect, the API may return an error indicating the job was not found. Verify the Job ID is correct.
  • Permission Denied: If the user does not have permission to cancel the specified job, an authorization error may occur. Ensure the API key has sufficient permissions.
  • Network Issues: Connectivity problems can cause the request to fail. Check network connectivity and API endpoint availability.
  • Job Already Completed or Canceled: Attempting to cancel a job that is already finished or previously canceled may result in an error or no effect.

Links and References

  • Refer to the external API documentation for job management and cancellation endpoints for detailed behavior and response formats.
  • Consult your API provider’s guidelines on job lifecycle and cancellation policies.

Discussion