Status Update
Comments
ko...@noaa.gov <ko...@noaa.gov> #2
ar...@pcc.edu <ar...@pcc.edu> #3
for the "out" bundle issue, this seems indeed an issue. for the second one reported adding "debugUpdateAPKArtifact" to the path, this WAI as there can more more than one transformer and we need to automatically separate them so they do not use the same output folder. for #3, I will look at it but it might be difficult to change it at this time.
we...@gmail.com <we...@gmail.com> #4
fl...@lcm.go.cr <fl...@lcm.go.cr> #5
Hello, this is a P1 S1 issue for a while now, and it's blocking us from upgrading to AGP 4.2 and further. What's the current status? And do you have plans to backport it to 4.2.x?
ar...@pcc.edu <ar...@pcc.edu> #6
no we don't have a plan to backport this. why is this blocking you from upgrading ?
ru...@sinova.co <ru...@sinova.co> #7
We sign apk's and bundles via internal service, and i don't know another way to interact with artifacts;
Yesterday i ended up with some ugly workaround:
[Deleted User] <[Deleted User]> #8
I commented on the merge request but to summarize :
you can set your signing tasks output folder to wherever you need to be :
artifacts.use(target.tasks.signedApkTaskProvider(this)).configure { signedDirProperty.set(File("/path/to/where/you/want/your/signed/files")) }
if you don't set it, then we will set a directory automatically.
fm...@sph.com.sg <fm...@sph.com.sg> #10
I checked that we do have correct behavior for FILE based artifacts like bundle :
> Task :app:debugUpdateArtifact
originalArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/intermediates/bundle/debug/signDebugBundle/app-debug.aab
updatedArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/bundle/debug/app-debug.aab
however, we still seem to not be consistent for the DIRECTORY based artifacts like APK:
> Task :app:debugUpdateAPKArtifact
Input folder: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/apk/debug
Output folder: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/intermediates/apk/debug
Input file: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/apk/debug/app-debug.apk
Alex, can you have a look ?
is...@gtservices.hk <is...@gtservices.hk> #11
correction, I was not correct about FILE being correct.
Instead of :
updatedArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/bundle/debug/app-debug.aab
it should be
updatedArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/app-debug.aab
``
se...@gruppoasa.com <se...@gruppoasa.com> #12
Two requests are created as they are API changes
jo...@europcar.com <jo...@europcar.com> #13
Fix will be available in Android Studio F/AGP 8.0 Canary 2 Release
16...@gmail.com <16...@gmail.com> #14
I tried to use it and at first look, it looks like everything works as expected. Thanks!
ro...@me.com <ro...@me.com> #15
The big issue is, that the current AGP 7.4.0 is broken. I tried to use this API and it is still broken in 7.4.0, it is probably really in AGP 8 :-(
ca...@gmail.com <ca...@gmail.com> #16
sa...@servicetec.com <sa...@servicetec.com> #17
jq...@ceu.edu.ph <jq...@ceu.edu.ph> #18
to our google form by tomorrow. Thank you.
On Wed, Aug 11, 2021, 8:50 PM , <buganizer-system@google.com> wrote:
[Deleted User] <[Deleted User]> #19
Quick rezsolution will be great !
Thx
ag...@gmail.com <ag...@gmail.com> #20
rr...@uisd.net <rr...@uisd.net> #21
ch...@ccnetllc.com <ch...@ccnetllc.com> #22
me...@gmail.com <me...@gmail.com> #23
gh...@gmail.com <gh...@gmail.com> #24
ho...@gmail.com <ho...@gmail.com> #25
Please push this to be fixed ASAP. Thank you!
ad...@vacuman.com <ad...@vacuman.com> #26
su...@spacpneumatic.co.in <su...@spacpneumatic.co.in> #27
Possible workaround so that workflow is not severely affected
01) give acces to the HTML file to end user
02) Download the HTML file to PC.
03) Open the HTML file in Chrome
04) Print the HTML web page from browser as PDF or use the legacy printer.
ad...@westgreensurgery.co.uk <ad...@westgreensurgery.co.uk> #28
[Deleted User] <[Deleted User]> #29
ci...@gmail.com <ci...@gmail.com> #30
ys...@gmail.com <ys...@gmail.com> #31
[Deleted User] <[Deleted User]> #32
sa...@gmail.com <sa...@gmail.com> #33
PDF File should be created and attached to email, but it fails.
The form is submitted without the attached PDF as of 8/11/21.
Please fix this bug. :) Thank you.
ab...@ruelala.com <ab...@ruelala.com> #34
ra...@gmail.com <ra...@gmail.com> #35
[Deleted User] <[Deleted User]> #36
pd...@gmail.com <pd...@gmail.com> #37
ad...@perprima.com.br <ad...@perprima.com.br> #38
pg...@gmail.com <pg...@gmail.com> #39
cr...@gmail.com <cr...@gmail.com> #40
mp...@gmail.com <mp...@gmail.com> #41
ta...@gmail.com <ta...@gmail.com> #42
ru...@sinova.co <ru...@sinova.co> #43
On an Apache server we created a web service in PHP that uses the following library
el...@brookvilleautogroup.com <el...@brookvilleautogroup.com> #44
mk...@gmail.com <mk...@gmail.com> #45
[Deleted User] <[Deleted User]> #46
This Bug is having a Serious Impact on our Business. I hope it gets sorted out very soon.
jr...@amsunsolar.com <jr...@amsunsolar.com> #47
bm...@ibsbuild.com <bm...@ibsbuild.com> #48
Huge problem!
Our system has been running for a few years with no issues, now this has crashed our ability to create PDFs from our system...
Getting same exception, even on this simple piece of code
function htmlToPDF() {
var html = "<h1>Hello world</h1>";
var blob = Utilities.newBlob(html, "text/html", "text.html");
var pdf = blob.getAs("application/pdf");
DriveApp.createFile(pdf).setName("text.pdf"); // Getting the error here!!!
}
ma...@gmail.com <ma...@gmail.com> #49
We are also experiencing this issue. Resolve that!!!
di...@onebigadventure.org.nz <di...@onebigadventure.org.nz> #50
my emails from my Health and Safety consultation form no longer arrive with the attached pdf usually generated. this PDF is very helpful in ensuring that we have a record of the health safety and wellbeing needs of the children who attend our adventure camp.
pi...@pinnaclesafety.com.au <pi...@pinnaclesafety.com.au> #51
ko...@noaa.gov <ko...@noaa.gov> #52
lo...@gmail.com <lo...@gmail.com> #53
[Deleted User] <[Deleted User]> #54
var html = '<html><body><h2>Test</h2></body></html>';
var pdf = Utilities.newBlob(html, 'application/pdf');
pdf.setName('test.pdf');
DriveApp.createFile(pdf).setName("test.pdf");
am...@g4s.com <am...@g4s.com> #55
he...@gmail.com <he...@gmail.com> #56
ve...@skbkontur.ru <ve...@skbkontur.ru> #57
Faced a bug when sending an email from google forms
Error: Conversion from text / html in app / pdf failed. (z-1589783281953)
in...@drhasanerdem.com <in...@drhasanerdem.com> #58
ad...@mabeon-achterhoek.nl <ad...@mabeon-achterhoek.nl> #59
se...@plato.no <se...@plato.no> #60
ga...@gmail.com <ga...@gmail.com> #61
kc...@gmail.com <kc...@gmail.com> #62
sa...@gmail.com <sa...@gmail.com> #63
On Thu, Aug 12, 2021 at 6:33 PM <buganizer-system@google.com> wrote:
Thanks,
Romina Angela Sanchez
VC...@vcacademy.info <VC...@vcacademy.info> #64
la...@gmail.com <la...@gmail.com> #65
sr...@gmail.com <sr...@gmail.com> #66
Since morning I am getting same error in my all applications, is there updat you did ? when we can expect issue solutions?
We are not expect new Features but keep running old functionality...
em...@cost-killer.pt <em...@cost-killer.pt> #67
The pdf file with the content of the email message, is not being generated.
le...@gmail.com <le...@gmail.com> #68
in...@vividcommunitycare.com <in...@vividcommunitycare.com> #69
ti...@sharicom.delivery <ti...@sharicom.delivery> #70
el...@gmail.com <el...@gmail.com> #71
sa...@stine.biz <sa...@stine.biz> #72
[Deleted User] <[Deleted User]> #73
jh...@finegardencreations.com <jh...@finegardencreations.com> #74
ch...@copelandpark.com <ch...@copelandpark.com> #75
lo...@tgr.cl <lo...@tgr.cl> #76
pa...@dexters.co.uk <pa...@dexters.co.uk> #77
cm...@ccboe.us <cm...@ccboe.us> #78
an...@bbva.com <an...@bbva.com> #79
go...@svmwa.com <go...@svmwa.com> #80
cr...@gmail.com <cr...@gmail.com> #81
st...@gmail.com <st...@gmail.com> #82
ru...@sinova.co <ru...@sinova.co> #83
Creating a server in Apache and using MPDF (
ru...@sinova.co <ru...@sinova.co> #84
pa...@ame.g4s.com <pa...@ame.g4s.com> #85
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");
}
Anyone found a way around it?
fo...@fuller.edu <fo...@fuller.edu> #86
var blob = HtmlService.createHtmlOutput(fileContent);
blob = blob.getBlob();
var pdf = blob.getAs("application/pdf");
//---------------save into year folder------
var currentYearFolder = getCurrentYearFolder(copydeck.pdfDestinationFolderId, 'Program Change Requests');
var createdFile = currentYearFolder.createFile(pdf).setName(fileName);
sg...@waynealarm.com <sg...@waynealarm.com> #87
mo...@auto1.com <mo...@auto1.com> #88
cl...@multco.us <cl...@multco.us> #89
Edit: This probably won't work for everyone, but I was able to implement a workaround by just saving the file as .html rather than converting it in GAS.
jl...@medianewsgroup.com <jl...@medianewsgroup.com> #90
ni...@ohcs.org <ni...@ohcs.org> #91
ma...@gmail.com <ma...@gmail.com> #92
[Deleted User] <[Deleted User]> #93
This is having a Serious Impact on our Business. The time it is taking to restore Widely-Used Core Functionality (creating a PDF) and the fact that there are 3 Bug Reports, one still in "New" Status (not yet Assigned) and that the other 2 seeming to be assigned to Different People without being marked as Duplicates by Google Admin, is undermining my confidence in Google Docs / Google Apps Script as Platform for My Business. I hope it gets sorted out very soon.
[Deleted User] <[Deleted User]> #94
Thank you.
ka...@gmail.com <ka...@gmail.com> #95
ja...@gmail.com <ja...@gmail.com> #96
ro...@godigitalape.com <ro...@godigitalape.com> #97
js...@warrick.k12.in.us <js...@warrick.k12.in.us> #98
[Deleted User] <[Deleted User]> #99
ti...@pincsf.org <ti...@pincsf.org> #100
UPDATE: Working again as of 8/16
du...@gmail.com <du...@gmail.com> #101
cl...@littlebuddiespeds.ca <cl...@littlebuddiespeds.ca> #102
It's driving me insane!
me...@ethreeconsulting.com <me...@ethreeconsulting.com> #103
dg...@gmail.com <dg...@gmail.com> #104
[Deleted User] <[Deleted User]> #105
bb...@twu.edu <bb...@twu.edu> #106
ka...@hhgstore.com <ka...@hhgstore.com> #107
mg...@gmail.com <mg...@gmail.com> #108
li...@aperiatech.com <li...@aperiatech.com> #109
ar...@gmail.com <ar...@gmail.com> #110
im...@gmail.com <im...@gmail.com> #111
ma...@fuggle.com.au <ma...@fuggle.com.au> #112
[Deleted User] <[Deleted User]> #113
re...@jampromusicfactory.com <re...@jampromusicfactory.com> #114
ca...@gmail.com <ca...@gmail.com> #115
Está impactando na minha rotina!
jo...@b-f.com <jo...@b-f.com> #116
je...@mesacounty.us <je...@mesacounty.us> #117
ak...@altonschools.org <ak...@altonschools.org> #118
ar...@gmail.com <ar...@gmail.com> #119
am...@g4s.com <am...@g4s.com> #120
da...@allstarparrots.co.uk <da...@allstarparrots.co.uk> #121
wi...@gmail.com <wi...@gmail.com> #122
te...@detechcentral.com <te...@detechcentral.com> #123
sr...@gmail.com <sr...@gmail.com> #124
Without Google Support we did Workaround sending .html file as attachment until issue get resolved
bo...@gmail.com <bo...@gmail.com> #125
Please fix the issue asap.
Thanks!
ra...@gmail.com <ra...@gmail.com> #126
am...@labnol.org <am...@labnol.org> #127
I am the author of Email Notifications for Google Forms add-on that relies on this service to convert Google Form responses to PDF files.
As Google has not provided any ETA for this bug, we have rolled out our own HTML to PDF solution using Google's Puppeteer service and it is now integrated with the Google Forms add-on.
If anyone requires a copy of my code for creating PDF files from HTML content using Chrome Puppeteer, please email me at
ph...@hm.com <ph...@hm.com> #128
[Deleted User] <[Deleted User]> #129
I am also having the same problem for 02 days.
let tempFile = DriveApp.createFile("temp.html", content, "text/html");
DriveApp.createFile(tempFile.getAs("application/pdf"));
Error message => Exception: Conversion from text/html to application/pdf failed.
sa...@gmail.com <sa...@gmail.com> #130
On Fri, Aug 13, 2021 at 7:00 PM <buganizer-system@google.com> wrote:
Thanks,
Romina Angela Sanchez
lm...@gmail.com <lm...@gmail.com> #131
ou...@gmail.com <ou...@gmail.com> #132
in...@irushadhiyya.edu.mv <in...@irushadhiyya.edu.mv> #133
go...@svmwa.com <go...@svmwa.com> #134
var title = "SVMWA Daily Operations Summary " + daysDiff + " - " +
Utilities.formatDate(currStatusDate,'MST','MM/dd/yyyy') + ".pdf";
var htmlDaily = htmlBody.getContent();
var blob = Utilities.newBlob(htmlDaily, 'text/html').getAs('application/pdf').setName(title);
ag...@nottinghillins.com <ag...@nottinghillins.com> #135
ra...@gmail.com <ra...@gmail.com> #136
qu...@freelance.academy <qu...@freelance.academy> #137
au...@innovapad.info <au...@innovapad.info> #138
Ki...@detechcentral.com <Ki...@detechcentral.com> #139
or...@gmail.com <or...@gmail.com> #140
It is a core feature that should not change without prior notice !
This is clearly a but that deelpy affects too many people. Please fix this urgently !!!
THIS BUG NEEDS A HIGHER PRIORITY, and an urgent response from Google !!!
ho...@gmail.com <ho...@gmail.com> #141
sa...@gmail.com <sa...@gmail.com> #142
The first form of the day came in today, Friday, August 13th at 10:30 AM
EDT and the PDF was attached with the info.
Thank you for solving this problem, Google! 😀 🙌 🎉
On Fri, Aug 13, 2021 at 1:08 PM <buganizer-system@google.com> wrote:
we...@gmail.com <we...@gmail.com> #143
cm...@ccboe.us <cm...@ccboe.us> #144
ko...@noaa.gov <ko...@noaa.gov> #145
md...@caisca.org <md...@caisca.org> #146
ti...@sharicom.delivery <ti...@sharicom.delivery> #147
je...@gmail.com <je...@gmail.com> #148
[Deleted User] <[Deleted User]> #149
al...@tilious.com <al...@tilious.com> #150
ad...@pbgroupmalta.com <ad...@pbgroupmalta.com> #151
sj...@sanjeevjain.com <sj...@sanjeevjain.com> #152
function htmlToPDF() {
var html = "<h1>Hello world</h1> <p>The quick brown fox jumped over the lazy dog";
var blob = Utilities.newBlob(html, MimeType.HTML, "text.html");
var resource = {
title: 'YOUR FILE NAME',
convert: true,
mimeType: 'application/vnd.google-apps.document'
};
var filObj = Drive.Files.insert(resource, blob);
var fileId = filObj.getId();
var fileUrl = DriveApp.getFileById(fileId).getUrl();
var pdfUrl = "
Logger.log(fileUrl); //URL OF GOOGLE DOC
Logger.log(pdfUrl); //URL OF PDF VERSION OF ABOVE DOC
//MOVE THE CREATED FILE TO A FOLDER IF DESIRED
var folder = DriveApp.getFolderById("FOLDERID");
DriveApp.getFileById(fileId).moveTo(folder);
}
te...@detechcentral.com <te...@detechcentral.com> #153
Conversion from text/html to application/pdf failed.
Will see what monday morning brings.
Hope it will be solved for all by then.
sl...@zahorskesady-oz.sk <sl...@zahorskesady-oz.sk> #154
sh...@gmail.com <sh...@gmail.com> #155
sl...@gmail.com <sl...@gmail.com> #156
pi...@groei.be <pi...@groei.be> #157
go...@svmwa.com <go...@svmwa.com> #158
var title = "SVMWA Daily Operations Summary " + daysDiff + " - " +
Utilities.formatDate(currStatusDate,'MST','MM/dd/yyyy') + ".pdf";
var htmlDaily = htmlBody.getContent();
var blob = Utilities.newBlob(htmlDaily, 'text/html').getAs('application/pdf').setName(title);
In the above code, assuming that htmlDaily is in 'text/html' form, I would be OK in simply archiving the file as 'text/html' rather than 'application/pdf'. I am assuming that users browsing the archive directory and clicking on an .html file link will display directly in the browser rather than using a .pdf viewer extension.
This may be a stupid question, but how would I save the 'text/html' in htmlDaily as a .html file rather than .pdf? Do I still use the Utilities.newBlob method?
Thanks!
ju...@owl360.co <ju...@owl360.co> #159
Regards
wi...@owl360.co <wi...@owl360.co> #160
ju...@gmail.com <ju...@gmail.com> #161
ja...@estra.com.co <ja...@estra.com.co> #162
Any solution ?
fa...@pharmivet.pe <fa...@pharmivet.pe> #163
I have the same problem... any solution?
wi...@gmail.com <wi...@gmail.com> #164
st...@axoniq.io <st...@axoniq.io> #165
ba...@gmail.com <ba...@gmail.com> #166
[Deleted User] <[Deleted User]> #167
This Problem is now around a Week old and 196100674 has been starred by over 250 Users (and is presumably impacting many many more Users who just don't report bugs).
I am bewildered and concerned that Google Support has not identified all these Bugs as Duplicates yet, has not fixed it / given it Higher Priority. And seems to have No Clear Timeframe for a Fix.
I am asking myself if the decision to rely on Google Docs (automated by Google Apps Script) as part of our Business Workflow was a wise one.
And I am bewildered that Google Support can allow this to continue when it must be likewise under-mining the confidence of perhaps Thousands of Businesses / Organizations in their Cloud Platform !!! And has surely already started to damage their Business !!!
Google Support, please, is there a Timeframe for a fix ?
sb...@gmail.com <sb...@gmail.com> #168
[Deleted User] <[Deleted User]> #169
I am not very familiar with your Bug Tracking System and only just noticed that Resolution of this Bug (196100674) appears to be blocked by:
196173395 [Details unavailable.]
196183303 [Details unavailable.]
Look I am guessing, but this suggests to me that Code that worked for a Long Time has been broken by a Major Change that is proving hard to rollback (cannot be rolled back as the Major Change is necessary for any reason - eg. Security) Again, I am guessing.
But if something this this is the case, then can you please at least let us know .. or let us know a Realistic Shortest Possible Timeframe for Resolution.
Our Operation is currently struggling through with a Work-Around for some of our Processes in place .. but not for all Processes.
I need to make a Decision as to whether I keep waiting Day by Day for a Resolution ... or drop everything and work to get a More Effective Workaround for *ALL* of our Impacted Processes in place ASAP ...
So can you please give us an indicative Timeframe ??? ....
Cheers
Simon
am...@g4s.com <am...@g4s.com> #170
function htmlToPDF2() {
var html = "<h1>Hello world</h1> <p>The quick brown fox jumped over the lazy dog";
var blob = Utilities.newBlob(html, MimeType.HTML, "text.html");
var resource = {
title: 'test',
convert: true,
mimeType: 'application/vnd.google-apps.document'
};
var filObj = Drive.Files.insert(resource, blob);
var fileId = filObj.getId();
var fileUrl = DriveApp.getFileById(fileId).getUrl();
var pdfUrl = "
Logger.log(fileUrl); //URL OF GOOGLE DOC
Logger.log(pdfUrl); //URL OF PDF VERSION OF ABOVE DOC
}
ar...@gmail.com <ar...@gmail.com> #171
PDF).
The PDFURL does the conversion "on the fly"
On Mon, 16 Aug 2021 at 10:22, <buganizer-system@google.com> wrote:
--
Regards,
Arul Selvan
fm...@sph.com.sg <fm...@sph.com.sg> #172
fm...@sph.com.sg <fm...@sph.com.sg> #173
//========== workaround = Aug 11, 2021
//html to Doc
var mediaData = Utilities.newBlob("").setDataFromString(html, "UTF-8").setContentType("text/html");
var resource = {
title: "HtmltoDoc",
mimeType: 'application/vnd.google-apps.document'
};
var optionalArgs = {
convert: true
};
var newFile = Drive.Files.insert(resource, mediaData, optionalArgs);
var newFileId = newFile.id
//convert doc to pdf
var folder = DriveApp.getFolderById(pdfFolderId);
var filename = threadSub + '.pdf'
var doc = DriveApp.getFileById(newFileId);
var theBlob = doc.getAs('application/pdf');
theBlob.setName(filename);
var pdfFile = folder.createFile(theBlob);
// console.log("filename = " + filename + " || file size = " + pdfFile.getSize());
//delete doc file
doc.setTrashed(true);
return pdfFile.getUrl();
//}
ar...@gmail.com <ar...@gmail.com> #174
than nothing :)
On Mon, 16 Aug 2021 at 13:11, <buganizer-system@google.com> wrote:
--
Regards,
Arul Selvan
ad...@pbgroupmalta.com <ad...@pbgroupmalta.com> #175
@google support. Kindly attend to this issue ASAP as it has affecting our operation significantly. If this issue cannot be fixed also kindly let us know so we can implement alternative processes.
ti...@sharicom.delivery <ti...@sharicom.delivery> #176
This issue has been happening for too long.
On Mon, Aug 16, 2021 at 6:08 AM <buganizer-system@google.com> wrote:
[Deleted User] <[Deleted User]> #177
Thank you very much for solving the problem
el...@gmail.com <el...@gmail.com> #178
cm...@ccboe.us <cm...@ccboe.us> #179
pa...@ame.g4s.com <pa...@ame.g4s.com> #180
Thank you very much for solving the problem
ga...@gmail.com <ga...@gmail.com> #181
Tks so much
[Deleted User] <[Deleted User]> #182
[Deleted User] <[Deleted User]> #183
ge...@fomepade.com.mx <ge...@fomepade.com.mx> #184
te...@detechcentral.com <te...@detechcentral.com> #185
PDFs are exactly the same as before, with no font issues etc.
I would like to see some comment in here from a google rep, to explain why/how this happened, and advise of any procedures, if any, they now have in place to prevent this sudden lost of work from occuring again.
Since all of us have all adopted Google's cloud platform and are now dependant on Google app script to function with our workflows.
se...@gruppoasa.com <se...@gruppoasa.com> #186
I have back my pdf files as before.
Regards
sr...@gmail.com <sr...@gmail.com> #187
sg...@waynealarm.com <sg...@waynealarm.com> #188
re...@jampromusicfactory.com <re...@jampromusicfactory.com> #189
bm...@ibsbuild.com <bm...@ibsbuild.com> #190
Now, how do we find out what caused this issue?
go...@svmwa.com <go...@svmwa.com> #191
[Deleted User] <[Deleted User]> #192
We really appreciate it!!
su...@perdana.biz <su...@perdana.biz> #193
I got this error message :
GoogleJsonResponseException: API call to drive.files.insert failed with error: Internal Error
I then tried to manually open the PDF file from Google Docs. I was not even able to open the PDF files from Google Docs, it just showed the opening file animation, and it's stuck there forever. I tried several other PDF files, and they all failed to open. These files could be opened successfully last week.
I tried the "setTrashed()" mentioned above, but it still did not work, because my code crashed on "drive.files.insert" before it reached setTrashed().
For those of you who have fixed this, any inputs?
Thank you
pa...@gmail.com <pa...@gmail.com> #194
[Deleted User] <[Deleted User]> #195
su...@perdana.biz <su...@perdana.biz> #196
Please help...
My Google Apps Script did not work I think it's because the PDF file cannot be opened using Google Docs.
Can anybody try to open the attached PDF on Google Drive please? I have many files like this that have to be processed every week...
It used to work smoothly until a few days ago ...
Thank you
su...@pioneerprograms.com <su...@pioneerprograms.com> #197
su...@perdana.biz <su...@perdana.biz> #198
Thanks Google =)
st...@amoventotene.it <st...@amoventotene.it> #199
Stefano +39 0771286789
ju...@gmail.com <ju...@gmail.com> #200
Helppppp I really need it, we're making people fill our forms from home due to Covid-19, and now everybody is asking why it doesn't work anymore!!!
[Deleted User] <[Deleted User]> #201
cl...@saghs.edu.tt <cl...@saghs.edu.tt> #202
mu...@google.com <mu...@google.com> #203
Hello everyone,
Thank you for your patience regarding this matter. I can confirm that this has been fixed and everything is working as expected.
Best regards
Description
** A short description of the issue:
Code to convert HTML to a PDF File on Google Drive that has not been changed for months and has been working fine for months, suddenly no longer works.
The only Error Message is: Exception: Conversion from text/html to application/pdf failed.
I do not believe it is a Drive Write Permission Problem as if I leave off the Last Step and just create an HTML File I can do so.
But the Last Step to create a PDF fails.
** A small code sample that reliably reproduces the issue. The sample should run as-is or with minimal setup, without external dependencies.
I have Library Routines that are failing.
But the problem also occurs if I try to run the following code:
function htmlToPDFTest() {
var html = "<h1>Hello world</h1>"
+ "<p>I cannot create a PDF</p>";
var blob = Utilities.newBlob(html, "text/html", "text.html");
var pdf = blob.getAs("application/pdf");
DriveApp.createFile(pdf).setName("text.pdf");
}
** What steps will reproduce the problem?
1. Run the Code above
2.
3.
** What is the expected output? What do you see instead? If you see error messages, please provide them.
PDF File should be created on Google Drive but fails.
The only Error Message is: Exception: Conversion from text/html to application/pdf failed.