Help needed with COQL query

Help needed with COQL query

Hi all,

I'm facing an issue with the v2 COQL query. Can someone resolve the issue?

Query
  1. select Dossier, Status, Toekenning_startdatum, Toekenning_einddatum, Created_Time from Bijzondere_bijstanden where Dossier in (640049000000603044,640049000000550726) AND ((Toekenning_startdatum between '2024-01-01' and '2024-12-31') OR (Toekenning_einddatum between '2024-01-01' and '2024-12-31') OR (Created_Time between '2024-01-01' and '2024-12-31')) limit 200
Error
  1. {
  2.     "code": "SYNTAX_ERROR",
  3.     "details": {
  4.         "near": "where"
  5.     },
  6.     "message": "error occured while parsing the query",
  7.     "status": "error",
  8.     "$responseHeaders": {
  9.         "x-ratelimit-remaining": null,
  10.         "x-ratelimit-limit": null,
  11.         "x-ratelimit-reset": null
  12.     }
  13. }

Thank you all for helping me.

Greetings,
Justin