Camunda 8.7: Try to assign a zeebe user task using ZeebeClient get an error

Hi, I’m having some problems when trying to assign a zeebe user task using zeebeClient.

I run Camunda 8.7 self-managed using docker-compose locally, in multi-tenancy mode.
I use the spring-boot SDK 8.7.

I create an instance of my workflow and then look up the user task using CamundaTaskListClient and then try to assign it to the demo user with the command

zeebeClient.newUserTaskAssignCommand

But I obtain the error NOT FOUND
I report some piece of logs:

POST /v2/user-tasks/2251799813685298/assignment HTTP/1.1
Authorization: Bearer .....
Accept: application/json, application/problem+json
User-Agent: zeebe-client-java/8.7.1
Content-Length: 19
Content-Type: application/json; charset=UTF-8
Host: 127.0.0.1:8080

Received [POST /v2/user-tasks/2251799813685299/assignment HTTP/1.1
Authorization: Bearer ......
Accept: application/json, application/problem+json
User-Agent: zeebe-client-java/8.7.0
Content-Length: 19
Content-Type: application/json; charset=UTF-8
Host: 127.0.0.1:8080
Connection: keep-alive

{"assignee":"demo"}]


No mapping for POST /v2/user-tasks/2251799813685299/assignment
No endpoint POST /v2/user-tasks/2251799813685299/assignment.
Resolved [org.springframework.web.servlet.NoHandlerFoundException: No endpoint POST /v2/user-tasks/2251799813685299/assignment.]
Completed 404 NOT_FOUND
Set SecurityContextHolder to anonymous SecurityContext
[API Response] Action: POST, Url: /v2/user-tasks/2251799813685299/assignment, Query String: -- NA --, Http Status: 404,

If I try to assign and complete the user task from TaskList UI, all operations end successfully.

Thanks a lot for any suggestions,
Elisa

Hi @crocie - I suspect that you need to enable the alpha endpoints. Not all of the new REST endpoints are out of alpha yet, but the alpha is quite stable and I recommend developing against it rather than waiting.