Common issues and solutions when working with PPTXMailMerge.
Placeholders Not Being Replaced
Issue: Placeholders remain as {{variable_name}} in the output
Possible Causes:
-
Case Mismatch: Placeholder names are case-sensitive
- ✅ Solution: Ensure
{{name}}in template matchesnamein data (notNameorNAME)
- ✅ Solution: Ensure
-
Spacing Issues: Extra spaces in placeholder syntax
- ✅ Solution: Use
{{variable_name}}not{{ variable_name }}or{{variable_name }}
- ✅ Solution: Use
-
Field Name Mismatch: Field name in data doesn't match placeholder
- ✅ Solution: Check your data file and ensure field names exactly match placeholder names
-
Data File Not Loaded: Data file wasn't properly uploaded or processed
- ✅ Solution: Re-upload your data file and verify it's the correct format
Empty Slides or Missing Data
Issue: Slides are created but contain no data or empty placeholders
Possible Causes:
-
Empty Rows: Your data file contains empty rows
- ✅ Solution: Remove empty rows from your data file
-
Missing Fields: Data doesn't contain the expected fields
- ✅ Solution: Verify your data structure matches your template placeholders
-
Null Values: Data contains null or empty values
- ✅ Solution: This is expected behavior - null values result in empty placeholders
File Upload Issues
Issue: Cannot upload file or file is rejected
Possible Causes:
-
File Size: File exceeds maximum size limit
- ✅ Solution: Reduce file size or split into smaller files
-
File Format: Unsupported file format
- ✅ Solution: Ensure you're using:
.pptxfor PowerPoint templates.json,.xlsx, or.csvfor data files
- ✅ Solution: Ensure you're using:
-
File Corruption: File is corrupted or incomplete
- ✅ Solution: Re-save or re-export your file
Data Format Issues
JSON Files
Common Issues:
- Invalid JSON syntax
- ✅ Solution: Use a JSON validator to check your file
- Missing commas or brackets
- ✅ Solution: Verify JSON structure is valid
- Encoding issues
- ✅ Solution: Save file as UTF-8
Excel Files
Common Issues:
- Wrong file format (
.xlsinstead of.xlsx)- ✅ Solution: Save as
.xlsxformat
- ✅ Solution: Save as
- Merged cells in header row
- ✅ Solution: Unmerge cells in header row
- Multiple header rows
- ✅ Solution: Ensure only first row contains headers
CSV Files
Common Issues:
- Unquoted fields with commas
- ✅ Solution: Quote fields containing commas:
"field, with, commas"
- ✅ Solution: Quote fields containing commas:
- Encoding issues (special characters)
- ✅ Solution: Save as UTF-8 encoding
- Inconsistent delimiters
- ✅ Solution: Use consistent delimiter (comma recommended)
Template Issues
Issue: Template doesn't work as expected
Possible Causes:
-
Complex Formatting: Very complex PowerPoint formatting may not be preserved
- ✅ Solution: Simplify formatting or test with a basic template first
-
Protected Slides: Slides are protected or locked
- ✅ Solution: Remove protection from your template
-
Unsupported Elements: Template contains unsupported PowerPoint features
- ✅ Solution: Avoid complex animations, macros, or embedded objects
Performance Issues
Issue: Merge process is slow or times out
Possible Causes:
-
Large Data Files: Very large datasets take longer to process
- ✅ Solution: Split into smaller batches or optimize your data file
-
Complex Templates: Templates with many elements take longer
- ✅ Solution: Simplify template where possible
-
Server Load: High server load may slow processing
- ✅ Solution: Try again later or contact support
Getting Help
If you're still experiencing issues:
- Check Documentation: Review the relevant documentation section
- Verify Your Setup: Double-check your template and data files
- Test with Sample Data: Try with a simple, known-good example
- Contact Support: Reach out through our contact page
Common Error Messages
"Invalid data format"
- Check that your data file matches the expected format (JSON array, Excel with headers, CSV with headers)
"Template not found"
- Verify your PowerPoint file was uploaded successfully
- Check file format is
.pptx
"Processing timeout"
- Your file may be too large or complex
- Try splitting into smaller files
"Invalid placeholder syntax"
- Check placeholder syntax:
{{variable_name}}(no spaces around variable name) - Ensure placeholders are in text elements (not in images or other non-text elements)