My gut reaction is that it is failing to fully generate due to size or timeout. If you can increase those values in php it may well complete.
Custom certificate (plugin)
View Certificates excel download times out
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.