Zeebe Task Query results in error 500

Hi, i’m running Zeebe 8.7.4. Im trying to query the user tasks.

I have set the CAMUNDA_REST_QUERY_ENABLED=“true”, however it seems like the engine itself has some kind of issue.

When i try to invoke via postman:

POST /v2/user-tasks/search HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Cookie: X-CSRF-TOKEN=0dfb8b2c-3dcc-4fad-ae0f-471b146e15d3
Content-Length: 48

{
  "filter": {
    "assignee": "demo"
  }
}

i get 500 error:

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

However i can not see anything wrong in the zeebe logs.

Am i doing something wrong? is there anything else i should configure to query tasks directly from zeebe?

You might be dealing with this issue, which is fixed in 8.8.0-alpha4

Regards,
Alex

1 Like