Fail an external worker job

POST {{baseUrl}}/external-jobs/:jobId/fail

Fail an external worker job providing error message and the corresponding error details. A failed external job can be retried again later based on the specified retry details.

Request Body

{"workerId"=>"orderWorker-1", "errorMessage"=>"Database not available", "errorDetails"=>"Jdbc connection failed", "retries"=>6260156, "retryTimeout"=>"PT20M"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring