External Task Worker cannot find Id

Hi,
I try to work with the Camunda REST API and I want to fetch & lock a task and then complete that manually.

I think fetch & lock works:

When I make the rest complete call, I just get the following message (workerId is the same):
{“type”:“RestException”,“message”:“External task with id 8aefc52f-00e6-11ec-afd2-00155d421119 does not exist”}

Thanks in advance!!

Hi @svenr,

the external task ID from the error message didn’t match the one from the screenshot.

Look at the last digits of the first octet.

Hope this helps, Ingo

Hi,
thank you!

I found my mistake. I used the processInstanceId instead of the task id… my fault!