Knowledge Drop

Variable not found "parameter"

  • 6 April 2021
  • 0 replies

Last Tested: Sep 6, 2019



This error usually indicates that the {% parameter parameter name %} liquid variable is being used somewhere where it's not accepted.


Since the _parameter_value variable is accepted in more places than parameter parameter name (notably the html, link, and sql_always_where parameters) it's usually safe to say you can use this instead.


sql_always_where: {% if parameter_name._parameter_value == 1 %} ...


instead of this

sql_always_where: {% if parameter parameter_name == 1 %} ...


Additional resources

Another potential cause of the error is the incorrect use or reference of templated filters in derived tables. See the Templated Filters and Derived Tables Community Post for more troubleshooting tips and information.


This content is subject to limited support.                

0 replies

Be the first to reply!