Error when cancelling stuart job

Hello,

I’m Juan Pablo a developer from AO, a retail company from Spain.

We have problems cancelling some jobs, when we try to cancelling throws this error:

https://api.stuart.com/v2/jobs/4258402/cancel

{“status”:{“code”:422,“reason”:“Unprocessable Entity”},“message”:{“status”:422,“code”:“stuart.cancel.job.failed”,“detail”:{“code”:422,“message”:“unknown”,“key”:“unknown”}}}

Any idea?

I looks the API doc and found nothing about this error.

Thank you

Hello Juan Pablo,

Do you happen to have the timestamp of the error? Is it a recurring one or it just happened once?

When exactly during the job’s lifecycle are you trying to cancel the job? and for what reason?
I can see that the job id 4258402 was delivered.

For more information, the cancellation mechanism is described here: How does cancellation works?