BUG: Exception: Conversion from text/html to application/pdf failed.

60 views
Skip to first unread message

Pankaj Singh

unread,
Aug 13, 2021, 11:01:13 AM8/13/21
to Google App Engine
Need urgent help..our App is down due to this. Corrupted PDF's are generating .

function myFunction() {
  var html = '<html><body><h2>Test</h2></body></html>';    
  var pdf = Utilities.newBlob(html,'pdf');
  pdf.setName('test.pdf');    
  DriveApp.createFile(pdf).setName("test.pdf");
}

https://issuetracker.google.com/196100674
https://issuetracker.google.com/196100674 BUG: Exception: Conversion from text/html to application/pdf failed.

Hi 


Please consider the environment before printing this email.
*********************************************************************
This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. If you have received it in error please contact the sender immediately by return e-mail. Please then delete the e-mail and any copies of it and do not use or disclose its contents to any person.
Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
This message has been checked for viruses on behalf of the company.
*********************************************************************


Reply all
Reply to author
Forward
0 new messages