Export Issues
Troubleshoot problems with DOCX report exports in Vulnsy -- tags not replaced, images missing, loops broken, and more.
Report export issues are almost always caused by template formatting problems in your DOCX file. This page covers the most common export issues and how to fix them.
Tags Not Replaced
Symptom: The exported document still shows raw tags like {report.title} instead of actual values.
Cause: Word splits tags across multiple XML runs when you copy/paste or edit them after typing. The tag looks correct visually, but the underlying XML is fragmented.
Fix:
- Open your template in Word
- Delete the broken tag completely
- Retype the tag in one continuous motion -- do not pause, backspace, or edit mid-tag
- Save the template and re-upload to Vulnsy
Tags are case-sensitive. {report.Title} and {report.title} are different tags. Check the exact spelling against the Template Tags reference, or download the per-report Tag Reference from the report's Export tab to see every available tag with its live value.
Images Not Appearing
Symptom: Image placeholders are blank or missing in the exported document.
Cause: The {%image} tag is not in its own paragraph, or the finding has no image data in the evidence field.
Fix:
- Ensure the
{%image}tag is on its own line in the template -- it must be the only content in that paragraph - Verify that the finding has evidence with image data attached
- Check that the image data exists in the database (not just a broken reference)
Loops Not Working
Symptom: Loop content is missing, duplicated incorrectly, or shows raw loop tags.
Cause: The opening {#loop} and closing {/loop} tags are not in separate paragraphs, or the array name does not match.
Fix:
- Place
{#loop}on its own line (separate paragraph) - Place
{/loop}on its own line (separate paragraph) - Ensure the content between the tags is in its own paragraph(s)
- Verify the array name matches exactly:
| Loop | Array Name |
|---|---|
| Findings | findings |
| Evidence | evidence |
| Consultants | consultants |
| Tabs | tabs |
{#findings}
Title: {title}
Severity: {severity}
{/findings}Empty Values
Symptom: Tags are replaced but with blank/empty content.
Cause: The field has no data in the database, or the report is linked to the wrong project or client.
Fix:
- Open the report in Vulnsy and check that the field has content
- Verify the report is linked to the correct project and client
- For client/project fields, check that the parent record has the data filled in
Unreplaced Variables Warning
Symptom: Vulnsy warns about unreplaced {{variable}} placeholders before export, or they appear in the exported document.
Cause: {{variable}} placeholders are content variables you write in your report text (e.g. {{target_url}}). They are meant to be resolved with Vulnsy's Search & Replace before export — the pre-export scan warns you about any leftovers so they never reach a client.
Fix:
- Open the report's Export tab
- Use the Search & Replace section to fill in each variable's value and apply the replacements
- Export again — the warning disappears once no
{{...}}patterns remain
Vulnsy template tags use single braces ({report.title}) and live in your Word template. Double-brace {{variables}} live in your report content and are resolved in-app — see Search & Replace.
Export Fails Entirely
Symptom: The export process errors out and no document is produced.
Fix:
- Check that a template is assigned to the report tab
- Ensure the template file is a valid
.docxfile (not.docor renamed) - Try re-uploading the template at Admin > Templates
- Check server logs for specific error messages if you have admin access
If the export continues to fail after trying the above steps, contact support at support@vulnsy.com with the report ID and any error messages you see.