This article describes how to troubleshoot when importing the Jinja script fails showing 'response with errors'.
FortiManager.
In FortiManager, jinja2 has an 'import' function where it uses a whole content/template as a variable.
For example, two templates 'main' and 'header' below shows that 'main' uses 'header' content as a variable:
If only the 'main' template is imported, it will fail due to the unrecognized value of the 'header', and the error from the browser by enabling the GUI debug will appear.
Proceed to import the 'header' template first and import the 'main' template following that.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.