DEV/TEST

Error: "Body contains unsupported tags or attributes: script" when saving a template

Solution to the error message shown on templates containing scripts, when trying to overwrite an existing template.

The error message (shown below) "Body contains unsupported tags or attributes: script" can appear when saving a template in the Shopify Order Printer app.

Luckily, this can be easily solved by making sure to create a new template instead of updating an existing one. Use the "Add template" button to create a new template.

After this, the template will save correctly.

If you're still having issues or questions, feel free to get in touch with our 24/7 support team.

Was this article helpful?

Still puzzling over something?

The agent has read this article — and everything around it. Ask a follow-up and it answers in seconds.