The file data size exceeds the Salesforce governor limit. Or, the file generation process time exceeds the Salesforce governor limit. Check the following.
- Set filter conditions for child records and output in multiple files.
- If the template contains images, reduce the resolution.
- For Excel, delete unused rows and columns in the template. For some reason, blank cells may be recognized as used cells, resulting in a large number of unnecessary rows and columns being saved.
- In Excel, check for hidden and unnecessary sheets, and delete any unnecessary sheets.
- In PDF, delete objects such as shapes and text boxes in the template file. Objects are not supported.
Instruction manual