Not able to query models

Hi there,

I am using Metabase v44.4. I have created a model that I am not able to query.

It gives me the following error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 23

I am using the `{{# model_number}} to reference the model as mentioned in the docs. But I am not sure what am I doing wrong.

Please upgrade to the latest version which probably fixes this issue

Upgraded to the latest version.

I still get the same error.