API filter issue

Hi, I’m trying to filter tasks in the /tasks/all endpoint but when I pass a filter like this one ‘done = false && (labels in “TODO”)’ I get Bad Request

Error response content: {“code”:4019,“message”:“The task filter value ‘TODO’ for field ‘labels’ is invalid.”}

But when I use the same syntax filter on the UI, it works just fine. Am I using the syntax wrong? Is there another format for the API? I used the swagger reference. It is not an auth issue as if I remove the filters it returns just fine.
This is the full encoded request url “https://my.vikunja.instance/api/v1/tasks/all?sort_by=due_date&order_by=asc&filter=done+%3D+false+%26%26+(labels+in+“TODO”)

Docker images versions for my docker-compose stack
vikunja-db-1 postgres:17 (45a04d02adcf)
vikunja-vikunja-1 vikunja/vikunja:latest (cec159e222f5)

Error shown in vikunja logs:
Task filter value is invalid [Value: TODO, Field: labels]
GET 400 /api/v1/tasks/all?sort_by=due_date&order_by=asc&filter=done+%3D+false+%26%26+%28labels+in+%22TODO%22%29 23.387035ms - python-requests/2.32.3