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.
*********************************************************************

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9f492a05-02ad-4842-90e4-54c58f381f6dn%40googlegroups.com.

Reply via email to