r/GoogleAppsScript • u/Wishyouamerry • Oct 04 '22
Resolved Trying to create PDF from sheet, but getting a vague error
This is my sheet that tracks client illnesses. I am trying to use this script to create a PDF of the "Tracker" tab, but I keep getting the error:
Exception: Service error: Spreadsheets
createPDF @ createPDF.gs:26
I have tried to google the problem, but nothing seems to really fit my situation. Any thoughts on what could be wrong? Or is there a better script I can use instead?
Any help is appreciated!
EDIT: I'm going to leave this here in case anyone else ever has a similar problem, but I figured it out!
I had the company logo inserted as an image - the formula didn't like that. I deleted the logo and it works great. Go figure.
If anyone has ideas that will allow me to keep the logo, I'd love to hear them! :-)
EDIT 2: I just had to insert the logo over the cell instead of in the cell. Lol.