User tasks and CandidateGroup tasks in one request

I’m using Camunda 7.20 with REST API.
I want ot get task list with Assigne and Candidate Group in one request. When I get tasks separately it works fine. I get for example 3 assigne tasks and 5 candidategroup tasks. However when I pass two params in one request i’ve got 0.

curl --location 'http://localhost:8081/engine-rest/task' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
  "assignee": "demo",
  "candidateGroup": "HRDepartment"