Error when templating grafana alerts

Other people seem to have the same issue as well: