I am using camunda-spring-boot-starter.8.9.0-SNAPSHOT
with c8run
and when I try to complete task using:
camundaClient.newCompleteUserTaskCommand
it gives me an error:
2025-09-22T12:52:49.126+03:00 ERROR 5956 --- [camunda-api] [nio-7777-exec-2] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/camunda-api] threw exception [Request processing failed: io.camunda.client.api.command.ProblemException: Failed with code 503: 'Service Unavailable'. Details: 'class ProblemDetail {
type: about:blank
title: UNAVAILABLE
status: 503
detail: Expected to handle request, but there was a connection error with one of the brokers
instance: /v2/user-tasks/2251799813691838/completion
}'] with root cause
io.camunda.client.api.command.ProblemException: Failed with code 503: 'Service Unavailable'. Details: 'class ProblemDetail {
type: about:blank
title: UNAVAILABLE
status: 503
detail: Expected to handle request, but there was a connection error with one of the brokers
instance: /v2/user-tasks/2251799813691838/completion
}'
The question is why it is calling /v2/user-tasks instead of
/v1/tasks/:taskId/complete