I’m facing an urgent issue with my AppSheet application.
Since this morning, all of my PDF generation tasks using an HTML template have been failing with the following errors:
Error 1:
Task ‘pdf 2’ Body template. Template could not be loaded due to exception: There are multiple root elements. Line 239, position 4.
Error 2:
The document body is empty.
I’m using an HTML template for PDF generation, and this same template has been working without any issues for more than a year. No significant changes have been made to the template, but starting today it suddenly began throwing these errors.
This issue is affecting all PDF generation in my application, and my users are currently unable to generate invoices and other PDF documents. It is having a direct impact on our business operations.
I have already contacted AppSheet Support, but the issue has not yet been resolved. I would appreciate it if someone could investigate this as a priority and help identify the cause. If this is related to a recent AppSheet update or a platform issue, please let me know.
This is an urgent production issue, and I need to resolve it as soon as possible.
I don’t think this is an issue with the template. I am facing exact same issue in ~7 of my clients’ apps… Not sure what to say. Same story, it was working fine till today. Take a look at that @Jose_Arteaga, please
The engineering team identified a recent update that caused our system to misinterpret certain template file types. They have rolled back the deployment, and everything is back up and running normally.
You don’t need to make any changes or workarounds on your end—your templates should be working as expected now. Thank you so much for your patience while we sorted this out