Thank you for letting us know.
This might happens if Google is having a hard time computing your document.
How many lines does your spreadsheet have in total? is your spreadsheet filtered?
Please share any information or a screenshot that could be helpful for me to guide you.
In the meantime, please try generating your documents on a smaller sample by splitting your contact list for example.
Looking forward to helping you,