Query user tasks (alpha) throws error

I have enabled the alpha feature search endpoints, and I’m trying the new “Query user tasks” operation in Camunda 8 API:

POST http://localhost:8088/v2/user-tasks/search
Content-Type: application/json
Authorization: Bearer {{access_token}}

{
  "filter": {
    "processInstanceKey": 1234
  }
}

It returns a 500 though:

{
  "type": "about:blank",
  "title": "Failed to execute UserTask Search Query",
  "status": 500,
  "detail": "Failed to execute search query",
  "instance": "/v2/user-tasks/search"
}

Any ideas?

I’m having the same issue too. Just tagging along for answers.

Anyone from Camunda?

/v2/user-tasks/search throws Exception · Issue #24146 · camunda/camunda