Continuing the discussion from [BUG] Revive of a bug! PDF generation via Scheduled Task:
What I’m trying to do:
Create a PDF via scheduled Task.
What I’ve tried and what’s not working:
Verified that the code runs without error when called from via anvil.server.call()
I have also tried scheduling the task as per the post above.
This throws AnvilWrappedError: Invalid print session
from the anvil.pdf.PDFRenderer()
Is there a requirement for a valid Client Side session to be running to access the PDFRenderer?