Error in Filter Between Date

I have this error when I do Between twoo date filter

pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '[‘2021-12-14’, ‘2021-12-22’]