Self manage - This operation is not supported using Tasklist V1 API

I am trying to perform task-list PATCH APIs using postman in a self manage (docker) installation. Following is the configurations in identity

I get
" “status”: 400,
“message”: “This operation is not supported using Tasklist V1 API. Please use the latest API. For more information, refer to the documentation: null”,"

But GET calls and same PATCH calls via Tasklist UI works fine. What can be the reason?

Hi @ccal
Can you share the exact call you’re doing? (for example copy code snippet from Postman)

Regards,
Alex

Hi,
First call http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token
In body
image

then call with the authorization token received as “Bearer token”.

@ccal
According to the specification, your call looks wrong Complete a task | Camunda 8 Docs

Try to set Body to None and execute the call to complete the task.
The Body is for variables only, you don’t need to provide the task id because it’s specified in the path.

Regards,
Alex

My bad, but it didn’t work. Noticed an error in logs and it pointed to here

Since I use API user it is not allowing me to complete. Maybe I should stick with zeebe user-tasks APIs (it works)

Hello @ccal ,

User tasks with “Zeebe user task” implementation require Zeebe REST API to be managed. Check out Migrate to Zeebe user tasks | Camunda 8 Docs for more details
Unfortunately, this doc link should have been provided in the error message, but it was not because of a small bug, we will fix it.

Best regards,
Houssain

1 Like