Problem with simple variable

Im trying to use a simple variable almost equal to the examples but im getting ERROR: syntax error at or near "{" Position: 201

The code is this:

SELECT
  *
FROM
  "cursus"
WHERE
  "cursus"."id"={{toto}} 

The variable is a simple Text variable, i did try with number too but same error. Am i missusing variables?

Thank you so much

Can you share the Filter setup as well, a screenshot please