HTTP Injection: Error: syntax error: unknown statement button

Hi!

I am in the process of migrating over to HTTP Injection instead of SMTP project per project. We just hit our first “edge case” that I suspect but can’t quickly find a lot about.

We get this error:
Error: syntax error: unknown statement button (in 0:34)

Is this email, part of the content shows:
{%button [REDACTED](https://REDACTED) %}

Which they intentionally render as plaintext as it’s part of the type of the email. I suspect the HTTP injection misinterpets it as a template substitution. We however don’t use the templating.

Is it possible to disable checking for this entirely or is this error related to something else possibly?

You can set template_dialect to static in the request.

Ahhh I see that’s new, awesome. Thanks a lot!

That works like a charm, thanks!