Status Update
Comments
al...@xappex.com <al...@xappex.com> #2
al...@xappex.com <al...@xappex.com> #3
ka...@kobler.no <ka...@kobler.no> #4
GAS: It happens consistently when calling UrlFetchApp.fetch("URL"). The same http URL query works fine outside of the Google environment.
Google sheet: At the same time started to experience unsuccessful calls when using IMPORTDATA("URL") in Google sheets. The calls seems to work on/off if I change the query a bit, for a call or two. Outside of the Google environment the calls are successful.
I have looked in vain if there are any restrictions in our Google account. Anyone have a clue on how to resolve this?
na...@gmail.com <na...@gmail.com> #5
ab...@brunswicknews.com <ab...@brunswicknews.com> #6
[Deleted User] <[Deleted User]> #7
We're also experiencing this issue when calling UrlFetchApp.fetch()
Our production system is down.
ch...@telenetwork.com <ch...@telenetwork.com> #8
at get_csv1d_(Code:31:30)
at auxIMP(Code:63:17)
No idea what the error codes mean but this is also affecting exports of CSV files from a URL and attempting to import and parse them. It can't fetch the URL. I can manually access the same link and it works fine so I know this is on Google's end.
mf...@redgobo.com <mf...@redgobo.com> #9
We confirmed that the same files are being fetched without an issue outside of AppScript.
jo...@elementum.com <jo...@elementum.com> #10
sh...@leenergy.com <sh...@leenergy.com> #11
mi...@futurezone.at <mi...@futurezone.at> #12
ro...@avalon.au <ro...@avalon.au> #13
Used to work fine few days ago
ma...@sleeb.co.uk <ma...@sleeb.co.uk> #14
dy...@homechef.com <dy...@homechef.com> #15
pe...@gmail.com <pe...@gmail.com> #16
We are also encountering the issue with ImportData in Google Sheets mentioned by above. That has been failing 100% of the time on automatic refresh for at least the past 24 hours. Many cases being reported here
rh...@letsgetready.org <rh...@letsgetready.org> #17
pa...@fazwaz.com <pa...@fazwaz.com> #18
var csvData = Utilities.parseCsv(UrlFetchApp.fetch('
a....@pyrexx.com <a....@pyrexx.com> #19
[Deleted User] <[Deleted User]> #20
Also If i Check my web server logs, It does returns response successfully.
[Deleted User] <[Deleted User]> #21
[Deleted User] <[Deleted User]> #22
je...@logicgate.com <je...@logicgate.com> #23
[Deleted User] <[Deleted User]> #24
[Deleted User] <[Deleted User]> #25
[Deleted User] <[Deleted User]> #26
[Deleted User] <[Deleted User]> #27
sb...@remaxintegra.com <sb...@remaxintegra.com> #28
sb...@remaxintegra.com <sb...@remaxintegra.com> #29
sh...@leenergy.com <sh...@leenergy.com> #30
jf...@softerware.com <jf...@softerware.com> #31
pu...@gmail.com <pu...@gmail.com> #32
sh...@caincentives.com <sh...@caincentives.com> #33
rs...@gmail.com <rs...@gmail.com> #34
These issues have resulted in a significant loss of trust in Google Apps Script.
sp...@stjosephhowell.org <sp...@stjosephhowell.org> #35
rs...@gmail.com <rs...@gmail.com> #36
[Deleted User] <[Deleted User]> #37
[Deleted User] <[Deleted User]> #38
di...@gmail.com <di...@gmail.com> #39
I have the same issue when trying to obtain the content text from redash in CSV format! In JSON format it works just fine. Please fix this, it just stopped working overnight.
ch...@beanbaginc.com <ch...@beanbaginc.com> #40
This has been a problem for the past 2-3 days for me when using IMPORTDATA()
on a CSV file. I do
Yesterday, this failure was pretty intermittent. I could cache-bust the URL a few times and get it working. Today, out of roughly 30 attempts, I can't get any URLs to load.
sp...@stjosephhowell.org <sp...@stjosephhowell.org> #41
ch...@beanbaginc.com <ch...@beanbaginc.com> #42
I can verify through server logs that the HTTP request is being made, and data returned by the server hosting the CSV file:
66.102.8.209 - - [09/Dec/2020:13:22:36 -0800] "GET /data/csv/butte-dashboard-v3.csv HTTP/1.1" 200 20192 "-" "Mozilla/5.0 (compatible; GoogleDocs; apps-spreadsheets; +http://docs.google.com)"
The end result is still #N/A
in the cell, with an error on hover saying Could not fetch url: https://bc19.live/data/csv/butte-dashboard-v3.csv
.
ch...@beanbaginc.com <ch...@beanbaginc.com> #43
Looking at the resulting internal HTTP request to fetchData
, I get back something with a whole lot of null
s:
[null,[[null,"{1\u003d6,9\u003d{1\u003d51#https://bc19.live/data/csv/butte-dashboard-v3.csv?7}}",null,[null,null,[null,7,37,[[null,2,"https://bc19.live/data/csv/butte-dashboard-v3.csv?7"]]],1.60754958746E9,null,null,null,null,[]]]]]
ad...@sirum.org <ad...@sirum.org> #44
ch...@beanbaginc.com <ch...@beanbaginc.com> #45
It looks like this may be specifically related to CSV parsing. If I convert the CSV file to TSV first, it works reliably.
If you have to go this route, and can set up any intermediary URL for a CSV file, here's a basic Python script that can convert CSV to TSV:
#!/usr/bin/env python
import csv
import sys
in_filename = sys.argv[1]
out_filename = in_filename.replace('.csv', '.tsv')
with open(in_filename, 'r') as in_fp:
with open(out_filename, 'w') as out_fp:
csv.writer(out_fp, dialect='excel-tab').writerows(csv.reader(in_fp))
al...@xappex.com <al...@xappex.com> #46
ik...@salesforce.com <ik...@salesforce.com> #47
pr...@prestonsmalley.com <pr...@prestonsmalley.com> #48
iv...@alumnos.usm.cl <iv...@alumnos.usm.cl> #49
ri...@homechef.com <ri...@homechef.com> #50
ap...@tiltingfutures.org <ap...@tiltingfutures.org> #51
vh...@gmail.com <vh...@gmail.com> #52
vh...@gmail.com <vh...@gmail.com> #53
go...@gmail.com <go...@gmail.com> #54
ri...@gmail.com <ri...@gmail.com> #55
t_...@reazon.jp <t_...@reazon.jp> #56
wd...@gmail.com <wd...@gmail.com> #57
ka...@rudel.jp <ka...@rudel.jp> #58
[Deleted User] <[Deleted User]> #59
gi...@officecoach.co.uk <gi...@officecoach.co.uk> #60
hi...@c-fo.com <hi...@c-fo.com> #61
jo...@google.com <jo...@google.com> #62
Hi there!
I have been evaluating your issue, but I can't replicate it. If you keep facing this behaviour, please share the minimal steps needed for its reproduction. If it is possible, please share too an example URL that repeat the issue.
[Deleted User] <[Deleted User]> #63
gf...@bmj.com <gf...@bmj.com> #64
[Deleted User] <[Deleted User]> #65
With G-connector addon installed, and an access to a salesforce just try to import any report. That do not work anymore for me since yesterday.
ak...@mixedanalytics.com <ak...@mixedanalytics.com> #66
a....@pyrexx.com <a....@pyrexx.com> #67
but its basically
importdata('url') on an external (non google drive) .csv file
i have 0 problems reproducing it
pa...@engelska.se <pa...@engelska.se> #68
I reproduced it with a minimal spreadsheet and a new script.
al...@xappex.com <al...@xappex.com> #69
function myFunction() {
UrlFetchApp.fetch("
}
si...@tmx.com <si...@tmx.com> #70
var url = the URL from Workday
var b64 = the username and password
var response = UrlFetchApp.fetch(url, {
headers: {
Authorization: 'Basic '+ b64
}
});
ke...@redhat.com <ke...@redhat.com> #71
ct...@nexamp.com <ct...@nexamp.com> #72
ka...@vonage.com <ka...@vonage.com> #73
al...@gmail.com <al...@gmail.com> #74
function myFunction() {
UrlFetchApp.fetch("
}
<?php
$filename="
$content=file_get_contents($filename);
echo $content;
?>
sb...@remaxintegra.com <sb...@remaxintegra.com> #75
ja...@zayo.com <ja...@zayo.com> #76
sh...@leenergy.com <sh...@leenergy.com> #77
GOOGLE PLEASE PROVIDE AN ETA ON CORRECTION.
PLEASE UPDATE US WITH CURRENT STATUS. ASAP
an...@masternaut.com <an...@masternaut.com> #78
da...@openenglish.com <da...@openenglish.com> #79
ca...@solutionsbyfusion.com <ca...@solutionsbyfusion.com> #80
da...@gmail.com <da...@gmail.com> #81
ha...@farahatco.com <ha...@farahatco.com> #82
ri...@b-f.com <ri...@b-f.com> #83
[Deleted User] <[Deleted User]> #84
Would like to thank you for the new script engine! The 30 - 60 script failure notifications per day are down to 3 - 4.
Notwithstanding the above, please, address this conundrum as expeditiously as possible.
as...@hawthorncreative.com <as...@hawthorncreative.com> #85
al...@helpsy.co <al...@helpsy.co> #86
da...@gmail.com <da...@gmail.com> #87
of...@samsara.com <of...@samsara.com> #88
no...@uber.com <no...@uber.com> #89
G-Connector will give random errors when running scheduled operations.
Thanks!
ki...@turtleos.com <ki...@turtleos.com> #90
de...@gmail.com <de...@gmail.com> #91
[Deleted User] <[Deleted User]> #92
[Deleted User] <[Deleted User]> #93
he...@cbinsights.com <he...@cbinsights.com> #94
[Deleted User] <[Deleted User]> #95
[Deleted User] <[Deleted User]> #96
ma...@intelgen.com <ma...@intelgen.com> #97
var csvContentURL = UrlFetchApp.fetch(url).getContentText();
var csvContentURLparsed = Utilities.parseCsv(csvContentURL);
It is causing major reporting issues. I can't help to observe that this started happening exactly when Google started rolling out the new script UI.
This morning it reported an issue. Interestingly currently the script fails without reporting an issue.
ja...@google.com <ja...@google.com> #98
Hello! Thanks for your messages.
I could reproduce this issue and I submitted it to the appropriate team. Any update will be posted here.
Thanks for your patience.
mw...@gmail.com <mw...@gmail.com> #99
an...@imatrix.com <an...@imatrix.com> #100
dp...@redhat.com <dp...@redhat.com> #101
ru...@jwplayer.com <ru...@jwplayer.com> #102
[Deleted User] <[Deleted User]> #103
ni...@avocet.io <ni...@avocet.io> #104
sb...@remaxintegra.com <sb...@remaxintegra.com> #105
ma...@creditas.com.br <ma...@creditas.com.br> #106
na...@gmail.com <na...@gmail.com> #107
1) create php file on your server for example getthatfile.php:
replace text secretsalt with something different. It's for security reason
<?php
if($_GET["s"]=="secretsalt"){
$filename=$_GET["file"];
$content=file_get_contents($filename);
echo $content;
}
?>
2) in your google script create function . Remember to change secretsalt
function getfromphp(file) {
return UrlFetchApp.fetch("
}
3) in your code use this
istead UrlFetchApp.fetch(url);
use
getfromphp(url);
ka...@vonage.com <ka...@vonage.com> #108
na...@gmail.com <na...@gmail.com> #109
al...@xappex.com <al...@xappex.com> #110
[Deleted User] <[Deleted User]> #111
[Deleted User] <[Deleted User]> #112
mi...@mariadb.com <mi...@mariadb.com> #113
da...@ask.com <da...@ask.com> #114
hc...@apartmentlist.com <hc...@apartmentlist.com> #115
li...@gmail.com <li...@gmail.com> #116
ko...@uber.com <ko...@uber.com> #117
yi...@fflbrands.com <yi...@fflbrands.com> #118
sh...@zscaler.com <sh...@zscaler.com> #119
ma...@intelgen.com <ma...@intelgen.com> #120
Given the number of business systems clearly impacted this would deserve escalated attention.
ja...@appdynamics.com <ja...@appdynamics.com> #121
sh...@telenetwork.com <sh...@telenetwork.com> #122
[Deleted User] <[Deleted User]> #123
za...@weedmaps.com <za...@weedmaps.com> #124
Thank you!
pa...@gmail.com <pa...@gmail.com> #125
ju...@mru.org <ju...@mru.org> #126
pa...@fazwaz.com <pa...@fazwaz.com> #127
ma...@intelgen.com <ma...@intelgen.com> #128
ko...@uber.com <ko...@uber.com> #129
eb...@redhat.com <eb...@redhat.com> #130
la...@agapio.eu <la...@agapio.eu> #131
ja...@zayo.com <ja...@zayo.com> #132
mi...@omicronmedia.com <mi...@omicronmedia.com> #133
[Deleted User] <[Deleted User]> #134
al...@xappex.com <al...@xappex.com> #135
mh...@demandbase.com <mh...@demandbase.com> #136
We would all appreciate if you could please increase the priority of this and look to issue a patch to remedy the situation.
Thanks,
-Mike
Demandbase, Inc.
uf...@gmail.com <uf...@gmail.com> #137
OK anger aside for a moment. I have a script which uses UrlFetchApp to get data from an API via CSV. It give the unexpected error. When I copy the identical URL to a Google Sheet and use importHTML it works just fine, as it has for months.
ja...@zayo.com <ja...@zayo.com> #138
Running on life support... this is not good. Xappex... can you do any work around using the suggestions on this thread? I am not generally ok paying subscription revenues and then having my vendor reply with "its all on Google". Please post an update to let the user community know what's happening and your efforts. Would really appreciate it.
ka...@gmail.com <ka...@gmail.com> #139
al...@xappex.com <al...@xappex.com> #140
cl...@gmail.com <cl...@gmail.com> #141
sh...@precimarke.jp <sh...@precimarke.jp> #142
la...@bluehorse.com.my <la...@bluehorse.com.my> #143
pr...@gmail.com <pr...@gmail.com> #144
ak...@redhat.com <ak...@redhat.com> #145
to...@toolsplus.io <to...@toolsplus.io> #146
jo...@yle.fi <jo...@yle.fi> #147
an...@netflix.com <an...@netflix.com> #148
m....@mitori.co.jp <m....@mitori.co.jp> #149
[Deleted User] <[Deleted User]> #150
cl...@googlemail.com <cl...@googlemail.com> #151
[Deleted User] <[Deleted User]> #152
mi...@michelecanal.tv.it <mi...@michelecanal.tv.it> #153
#107 workaround work fine; thanks!
n....@sitespa.it <n....@sitespa.it> #154
sa...@gmail.com <sa...@gmail.com> #155
ke...@redhat.com <ke...@redhat.com> #156
pi...@gtempaccount.com <pi...@gtempaccount.com> #157
We rely heavily on urlfetch function for advertising reporting purposes. Every report script is down now. Please increase the priority of this issue.
al...@gmail.com <al...@gmail.com> #158
sh...@adinnovation.jp <sh...@adinnovation.jp> #159
m....@knuddels.de <m....@knuddels.de> #160
[Deleted User] <[Deleted User]> #161
an...@phdmedia.com <an...@phdmedia.com> #162
ba...@google.com <ba...@google.com>
tu...@flinters.co.jp <tu...@flinters.co.jp> #163
az...@gmail.com <az...@gmail.com> #164
me...@gmail.com <me...@gmail.com> #165
an...@sae.edu.au <an...@sae.edu.au> #166
az...@gmail.com <az...@gmail.com> #167
[Deleted User] <[Deleted User]> #168
ke...@gmail.com <ke...@gmail.com> #169
bj...@measureone.com <bj...@measureone.com> #170
op...@gmail.com <op...@gmail.com> #171
an...@gmail.com <an...@gmail.com> #172
fl...@gmail.com <fl...@gmail.com> #173
ta...@streethub.com <ta...@streethub.com> #174
Production systems are down, please fix ASAP
ba...@gmail.com <ba...@gmail.com> #175
ja...@google.com <ja...@google.com> #176
Hello!
We are aware of the importance of this issue and it's being investigated.
Thank you all for the information provided.
bi...@gmail.com <bi...@gmail.com> #177
a....@pyrexx.com <a....@pyrexx.com> #178
I hope this message finds you well. This is Hugo following on this case.
I have reviewed internal investigation #175142969 and the product engineering team has confirmed that the roll-out of fix has been completed. For any sheet that is still showing the error , refreshing the browser tab will fix the issue.
I hope this is helpful information. Please let me know if additional concerns arise and I will assist you.
- my sheets that are using importdata() are working again, so at least this seems to be fixed
ri...@homechef.com <ri...@homechef.com> #179
al...@xappex.com <al...@xappex.com> #180
function myFunction() {
for (var i =0; i<10; i++)
{
Logger.log(i.toString());
try {
UrlFetchApp.fetch("
Logger.log("success");
}
catch (e) {Logger.log(e);}
Utilities.sleep(1000);
}
}
mh...@gmail.com <mh...@gmail.com> #181
st...@gmail.com <st...@gmail.com> #182
I use:
const fetchRequest = UrlFetchApp.fetch(url);
const results = Utilities.parseCsv(fetchRequest);
sb...@remaxintegra.com <sb...@remaxintegra.com> #183
al...@xappex.com <al...@xappex.com> #184
ma...@ousedale.org.uk <ma...@ousedale.org.uk> #185
var url =
"
spreadsheetId +
"/gviz/tq?tqx=out:csv&gid=" +
sheetId +
"&access_token=" +
ScriptApp.getOAuthToken();
var res = UrlFetchApp.fetch(url);
dp...@redhat.com <dp...@redhat.com> #186
ko...@uber.com <ko...@uber.com> #187
si...@tmx.com <si...@tmx.com> #188
[Deleted User] <[Deleted User]> #189
[Deleted User] <[Deleted User]> #190
al...@xappex.com <al...@xappex.com> #191
jo...@tinuiti.com <jo...@tinuiti.com> #192
ja...@zayo.com <ja...@zayo.com> #193
sh...@leenergy.com <sh...@leenergy.com> #194
ma...@gmail.com <ma...@gmail.com> #195
ra...@mobilemaniacos.com.br <ra...@mobilemaniacos.com.br> #196
sm...@gmail.com <sm...@gmail.com> #197
an...@donboscocare.ie <an...@donboscocare.ie> #198
Like sh...@leenergy.com said in message #194, the url in the error message can be used to download the report of what usually gets put into the results columns. You have to do a little bit of converting of this info, but you can still upload your data and have your results columns populated.
va...@sprinklr.com <va...@sprinklr.com> #199
n....@gmail.com <n....@gmail.com> #200
he...@gmail.com <he...@gmail.com> #201
yu...@gmail.com <yu...@gmail.com> #202
yu...@wurl.com <yu...@wurl.com> #203
me...@obm.ai <me...@obm.ai> #204
ke...@redhat.com <ke...@redhat.com> #205
sa...@mindtickle.com <sa...@mindtickle.com> #206
t....@strategic-blue.com <t....@strategic-blue.com> #207
please roll back the latest changes and put in place appropriate testing
before deploying new stuff
On Fri, 11 Dec 2020 at 17:29, <buganizer-system@google.com> wrote:
--
This email and any attachments to it may be confidential or proprietary
and are intended solely for the use of the individual to whom it is
addressed. Any views or opinions expressed are solely those of the author
and do not necessarily represent those of Strategic Blue. If you are not
the intended recipient of this email, you must neither take any action
based upon its contents, nor copy or show it to anyone. Please contact the
sender if you believe you have received this email in error, and then
delete this email and any attachments.
Strategic Blue Services Limited, a
company incorporated in England & Wales with registered number 07311921 and
whose registered office is 1 Mercer Street, Covent Garden, London WC2H 9QJ,
United Kingdom.
st...@li.me <st...@li.me> #208
Google, please fix it as soon as possible, or simply rollback.
[Deleted User] <[Deleted User]> #209
Please, fix this.
fe...@creativelive.one <fe...@creativelive.one> #210
Please, fix this.
ll...@gmail.com <ll...@gmail.com> #211
SH...@magnite.com <SH...@magnite.com> #212
rm...@gmail.com <rm...@gmail.com> #213
ma...@optimizely.com <ma...@optimizely.com> #214
ye...@xappex.com <ye...@xappex.com> #215
bo...@cwi.nl <bo...@cwi.nl> #216
it only triggers on CSV data... who was tinkering with a nice "optimization" for that??
ye...@gmail.com <ye...@gmail.com> #217
pe...@gmail.com <pe...@gmail.com> #218
Occasionally I can fetch the CSV-files, but in 95-99% of the cases I get the Unexpected error. I have refreshed the browser (tried in multiple browsers and computers) and still not working. I can also verify that I get solid good responses from the server providing the CSV-files so there is no problem there. any ETA on when this will be resolved and is there any good workarounds?
ad...@wurl.com <ad...@wurl.com> #219
jo...@scotts.com <jo...@scotts.com> #220
cf...@salesforce.com <cf...@salesforce.com> #221
pa...@engelska.se <pa...@engelska.se> #222
Specifically, section 9: "... FOR EXAMPLE, WE DON'T MAKE ANY COMMITMENTS ABOUT THE CONTENT ACCESSED THROUGH THE APIS, THE SPECIFIC FUNCTIONS OF THE APIS, OR THEIR RELIABILITY, AVAILABILITY, OR ABILITY TO MEET YOUR NEEDS. WE PROVIDE THE APIS "AS IS"."
Basically, no one should be using Google App Script to build any critical business processes whatsoever. It's for pet projects, "extras", something which adds value but that you can live without.
For "critical" workloads, I recommend instead Google Cloud Platform and App Engine, at least, until Google acknowledge that this a product that many rely upon and only reflects badly on them that it's not reliable or properly supported.
ca...@gmail.com <ca...@gmail.com> #223
Are you a google simp or?
Nothing is free in this world.
You are paying for it somehow or Google benefits from it somehow.
It being free doesn’t excuse a company like google breaking a feature without announcing it beforehand.
Besides, many companies pay for Google G Suite (Google Workspace) which includes Google Sheets.
ti...@gmail.com <ti...@gmail.com> #224
Same here: facing this issue with UrlFetchApp.fetch(), Our tools in production are affected.
Any ETA?
dh...@greenhouse.io <dh...@greenhouse.io> #225
pe...@ibexestudio.com <pe...@ibexestudio.com> #226
gu...@gmail.com <gu...@gmail.com> #227
pe...@gmail.com <pe...@gmail.com> #228
Likewise, we've had to switch to using JSON rather than CSV for data imports. Fortunately switching the response encoding was pretty trivial in our source system.
If it helps anyone, here's a snippet of code for appending rows from JSON that's fairly analogous to appending rows from CSV. This assumes a JSON response that's an array of objects with all the same keys.
var sheet = SpreadsheetApp.getActive().getSheetByName('YOUR SHEET');
var response = UrlFetchApp.fetch("path/to/json");
var data = JSON.parse(response);
if (data.length > 0) {
var keys = Object.keys(data[0]);
for (i in data) {
var values = keys.map(function(key){ return data[i][key]});
sheet.appendRow(values);
}
}
Bit simplistic, but works in our case, and more importantly, successfully executes!
ji...@mccormick-services.com <ji...@mccormick-services.com> #229
Google, it would help you and us a lot if you publicized and executed a communication plan for your highest priority and severity bugs. Without communication, everyone is left to guess, and the vacuum is filled with confusion, anger, and suspicion. If you want businesses to trust you, communication is key. Make it so.
[Deleted User] <[Deleted User]> #230
I thik I found two possible solutions
the first is very simple:
previously there was a bug that needed a space after Bearer for the response to work:
'Authorization': 'Bearer ' + ScriptApp.getOAuthToken() //Bug was here needed a space after Bearer
if you delete the space it works just fine:
'Authorization': 'Bearer ' + ScriptApp.getOAuthToken()
the other solution is to getValues from the range you want to export to csv and then join it
like this
var vals = range.getValues();
var csvString = vals.join("\n");
var csv = DriveApp.createFile("mycsv.csv", csvString);
both solutions are working for me
hope it helps
ke...@telus.com <ke...@telus.com> #231
el...@gmail.com <el...@gmail.com> #232
jo...@titechllc.com <jo...@titechllc.com> #233
yz...@gmail.com <yz...@gmail.com> #234
ma...@verneide.com <ma...@verneide.com> #235
na...@nathaniel-allen.com <na...@nathaniel-allen.com> #236
If you are able to change your data to JSON or TXT (tab delimited) the UrlFetchApp.fetch() should work.
TXT (tab delimited) was the easiest bandaid for me because it is plug and play with Utilities.parseCsv(csvString, '\t');
Good luck 👍
ac...@gmail.com <ac...@gmail.com> #237
be...@gmail.com <be...@gmail.com> #238
I managed to have some switched to json but for some I cannot since source is only csv :/
be...@titechllc.com <be...@titechllc.com> #239
pe...@broadcom.com <pe...@broadcom.com> #240
Is there a workaround until this is fixed?
jh...@gmail.com <jh...@gmail.com> #241
When I fetch
br...@gmail.com <br...@gmail.com> #242
es...@gmail.com <es...@gmail.com> #243
ASAP
is...@stemo.hu <is...@stemo.hu> #244
ja...@gmail.com <ja...@gmail.com> #245
wh...@gmail.com <wh...@gmail.com> #246
error screen shot attached
code:
var params = {muteHttpExceptions:true}; var ARKKcsv = UrlFetchApp.fetch(ARKKurl,params).getContentText();
Please fix, this is serious
an...@gmail.com <an...@gmail.com> #247
da...@gamekit.com <da...@gamekit.com> #248
an...@healthify.co <an...@healthify.co> #249
je...@farmurban.co.uk <je...@farmurban.co.uk> #250
na...@gmail.com <na...@gmail.com> #251
ge...@gmail.com <ge...@gmail.com> #252
jo...@gmail.com <jo...@gmail.com> #253
gp...@gmail.com <gp...@gmail.com> #254
ko...@gmail.com <ko...@gmail.com> #255
in...@gmail.com <in...@gmail.com> #256
gr...@googlemail.com <gr...@googlemail.com> #257
sa...@gmail.com <sa...@gmail.com> #258
to...@brainjocks.com <to...@brainjocks.com> #259
This is a huge blocker to running my daily business processes
Is there an ETA for resolving this?
br...@gmail.com <br...@gmail.com> #260
to...@brainjocks.com <to...@brainjocks.com> #261
bo...@cwi.nl <bo...@cwi.nl> #262
ad...@webdatahub.com <ad...@webdatahub.com> #263
This is a critical blocker. We need fix ASAP. Please revert the changes causing this issue.
[Deleted User] <[Deleted User]> #264
Please fix asap!!
jr...@gmail.com <jr...@gmail.com> #265
ha...@gmail.com <ha...@gmail.com> #266
st...@gmail.com <st...@gmail.com> #267
ya...@fwrbrands.com.au <ya...@fwrbrands.com.au> #268
guys, i've found work around for this
remove .csv from your filename (you'll have to remove filename on your file source first)
should be ok until google fix it
cause it's been 3days and it's still error
var csvUrl = "https://yourwebsite.com/pathtocsv/importfile.csv";
var csvContent = UrlFetchApp.fetch(csvUrl).getContentText();
change it to
var csvUrl = "https://yourwebsite.com/pathtocsv/importfile";
var csvContent = UrlFetchApp.fetch(csvUrl).getContentText();
to...@brainjocks.com <to...@brainjocks.com> #269
How did this get thru your QA before deployment?
na...@gmail.com <na...@gmail.com> #270
I guess Google's code is having trouble dealing with the mime type.
ba...@gmail.com <ba...@gmail.com> #271
Any workaround suggestions for an URL like this:
In this case I can't remove &download=csv because this actually tells the server to generate and return a csv file.
na...@gmail.com <na...@gmail.com> #272
In my case, I understand that removing the extension from the file name makes the webserver stop identifying the mime-type as CSV. If you control the server side, you could try to not setting the mime-type to CSV when creating the response.
da...@gmail.com <da...@gmail.com> #273
@Google I am surprised at your carelessness here. I blamed the 3rd party first instead of you. ETA to fix? Going on 5 days of issues now - for a while the problem was intermittent now it is 100% bad. Maybe it's time to port back to Microsoft apps.
[Deleted User] <[Deleted User]> #274
ki...@turtleos.com <ki...@turtleos.com> #275
In case it could be helpful for anyone, this is the only code (except the link with .json in the end) I had to change:
before:
const freshData = Utilities.parseCsv(response, ',');
after:
let freshData = JSON.parse(response).values;
freshData.unshift(JSON.parse(response).fields);
The result is a 2D array that can be pasted to any sheet using setValues();
to...@brainjocks.com <to...@brainjocks.com> #276
al...@gadgetrecycling.ltd <al...@gadgetrecycling.ltd> #277
ma...@toofast.com <ma...@toofast.com> #278
as...@gmail.com <as...@gmail.com> #279
mr...@woolworths.com.au <mr...@woolworths.com.au> #280
ti...@twofutures.co <ti...@twofutures.co> #281
ad...@webdatahub.com <ad...@webdatahub.com> #282
an...@phdmedia.com <an...@phdmedia.com> #283
bi...@ethirteen.com <bi...@ethirteen.com> #284
ni...@redhat.com <ni...@redhat.com> #285
br...@gmail.com <br...@gmail.com> #286
jj...@gmail.com <jj...@gmail.com> #287
ch...@prosperops.com <ch...@prosperops.com> #288
[Deleted User] <[Deleted User]> #289
ma...@gmail.com <ma...@gmail.com> #290
la...@agapio.eu <la...@agapio.eu> #291
ke...@groupm.com <ke...@groupm.com> #292
var httpOptions = {
'headers': {'Authorization': 'Bearer ' + ScriptApp.getOAuthToken()}
}
var contents = UrlFetchApp.fetch(apiUrl, httpOptions).getContentText();
Where api url is Google's redirect url for csv file from the
Still returns the same error:
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}
ni...@gmail.com <ni...@gmail.com> #293
[Deleted User] <[Deleted User]> #294
yo...@gmail.com <yo...@gmail.com> #295
[Deleted User] <[Deleted User]> #296
[Deleted User] <[Deleted User]> #297
To disable:
From Menu click on Run > Disable new Apps Script runtime powered by Chrome V8
al...@rentokil-initial.com <al...@rentokil-initial.com> #298
They work if accessed from Chrome even in private browsing (so no authenication is required).
It is about 4 days for me.
regards
[Deleted User] <[Deleted User]> #299
dr...@gmail.com <dr...@gmail.com> #300
st...@gmail.com <st...@gmail.com> #301
ba...@gmail.com <ba...@gmail.com> #302
That doesn't work for me. Does this work for others?
al...@gadgetrecycling.ltd <al...@gadgetrecycling.ltd> #303
Did not work for me
[Deleted User] <[Deleted User]> #304
ip...@gmail.com <ip...@gmail.com> #305
[Deleted User] <[Deleted User]> #306
ni...@win-win-sports.com <ni...@win-win-sports.com> #307
al...@anewspring.nl <al...@anewspring.nl> #308
We have a payed G Suite subscription and we use this for business processes.
Google, please solve this issue soon!
ma...@gmail.com <ma...@gmail.com> #309
In my case, I'm using UrlFetchApp.fetch to generate a .csv file to send it be email to be used by our system.
I tried changing the exported file extension from csv to tsv :
var url = "
To
var url = "
Then sending the file as .csv since our system only receives csv.
MailApp.sendEmail(email_ID,subject ,body, {attachments:[{fileName:"XXXXXXX"+".csv", content:contents, mimeType:"application//csv"}]});
Worked for me.
gf...@toverteam.nl <gf...@toverteam.nl> #310
em...@travisperkins.co.uk <em...@travisperkins.co.uk> #311
Any advice on expected resolution times would be great.
[Deleted User] <[Deleted User]> #312
st...@gmail.com <st...@gmail.com> #313
to...@brainjocks.com <to...@brainjocks.com> #314
This is a PRODUCTION blocker
ri...@homechef.com <ri...@homechef.com> #315
Can you provide an update?
If you cannot find a fix, can we have reassurance the latest release will be rolled back?
We are at a 100% failure rate.
pa...@aperam.com <pa...@aperam.com> #316
mi...@gmail.com <mi...@gmail.com> #317
pa...@aperam.com <pa...@aperam.com> #318
jp...@gmail.com <jp...@gmail.com> #319
lo...@hagergroup.com <lo...@hagergroup.com> #320
@Google, When can we expect to have a date for this issue to be solved?
st...@districttaco.com <st...@districttaco.com> #321
st...@gmail.com <st...@gmail.com> #322
an...@gmail.com <an...@gmail.com> #323
[Deleted User] <[Deleted User]> #324
I wish Google would give us an update or ETA though. Very frustrating.
an...@sae.edu.au <an...@sae.edu.au> #325
Currently, every 15 minutes or so I have to manually import a 3rd party CSV file to another server where I can remove the .CSV file extension, and then redirect all my scripts to look at that file just to keep my company's systems alive on life support.
I feel like a fool for using Google Apps Script at all now, stupid me just assumed that support for it would have been included in the G Suite SLA. If this isn't fixed in the next day or so my only alternative will be to rebuild and recode from the ground up, and you can bet your ass I won't use a single Google service in the process.
If anyone knows of some software, or has a script that can automatically authenticate to a website and download a .CSV file I'd be very grateful if you shared it here.
mi...@googlemail.com <mi...@googlemail.com> #326
to...@brainjocks.com <to...@brainjocks.com> #327
ha...@gmail.com <ha...@gmail.com> #328
I never used V8 and it still doesn't work.
to...@brainjocks.com <to...@brainjocks.com> #329
Google Workspace Support, Luis11:52 AM
Thanks, Tommy. The information given by the developers and the engineers is that the fix is already propagating, it is just a matter of two hours that you can have the issue fixed (however, it can take less). What they mention is that I can send them in the form your domain, so they push the fix quicker to your domain.
bl...@gmail.com <bl...@gmail.com> #330
I also tried switching back to Rhino and this did appear to temporarily help some of my scripts interacting with Google Sheets. However, they still fail most of the time, but using Rhino every so often one of them seems to run okay and actually fetches the CSV file correctly (why? how? there doesn't appear to be any consistency or logic to predict successful executions over the failures).
Unfortunately for scripts interacting with Google Docs, neither Rhino or V8 seem to allow the fetching of .CSV files at all :(
All these scripts have been running perfectly well for 3+ years, they must have handled hundreds of thousands of requests over that time. I need to know what broke and why? Throwing an "Unexpected error" is not enough information for me to troubleshoot anything!
an...@sae.edu.au <an...@sae.edu.au> #331
Awesome, I will get our G Suite admin on this asap.
Can you please post an update here if they actually fix this issue for you!
[Deleted User] <[Deleted User]> #332
[Deleted User] <[Deleted User]> #333
--
<
2100 E Richmond Ave.
Fort Worth, TX 76104
Arch-Fab.com <
*Jarod McCarty*
Scheduling Coordinator
O: 817.926.7270 Ext 140
C: 417.576.6694
E: jarod.mccarty@arch-fab.com <jacob.sunderbruch@arch-fab.com>
<
<
<
ko...@uber.com <ko...@uber.com> #334
ph...@philsebastian.com <ph...@philsebastian.com> #335
ad...@districttaco.com <ad...@districttaco.com> #336
aa...@gmail.com <aa...@gmail.com> #337
pe...@gmail.com <pe...@gmail.com> #338
jh...@gmail.com <jh...@gmail.com> #339
is this issue FIX?
Please Confirm
Best Regards
pr...@gmail.com <pr...@gmail.com> #340
fr...@royaltechnologies.com <fr...@royaltechnologies.com> #341
fr...@it-development.com <fr...@it-development.com> #342
ti...@gmail.com <ti...@gmail.com> #343
jo...@scotts.com <jo...@scotts.com> #344
pe...@broadcom.com <pe...@broadcom.com> #345
Not fixed for us, UrlFetchApp.fetch()
still fails to GET or POST a CSV body.
[Deleted User] <[Deleted User]> #346
I have found a possible solution that is working for me
try inputting empty {} like this
UrlFetchApp.fetch(apiLink, {});
it worked for me
ma...@ousedale.org.uk <ma...@ousedale.org.uk> #347
fr...@gmail.com <fr...@gmail.com> #348
al...@rentokil-initial.com <al...@rentokil-initial.com> #349
I confirm that if you disable the V8 runtime the UrlFetchApp is working...
Regards
jo...@scotts.com <jo...@scotts.com> #350
pe...@gmail.com <pe...@gmail.com> #351
sc...@cru.org <sc...@cru.org> #352
fr...@royaltechnologies.com <fr...@royaltechnologies.com> #353
ko...@uber.com <ko...@uber.com> #354
[Deleted User] <[Deleted User]> #355
Tr...@logicalposition.com <Tr...@logicalposition.com> #356
[Deleted User] <[Deleted User]> #357
[Deleted User] <[Deleted User]> #358
br...@gmail.com <br...@gmail.com> #359
fr...@gmail.com <fr...@gmail.com> #360
az...@gmail.com <az...@gmail.com> #361
an...@sae.edu.au <an...@sae.edu.au> #362
az...@gmail.com <az...@gmail.com> #363
ma...@nordcloud.com <ma...@nordcloud.com> #364
UrlFetchApp.fetch(apiLink, {}); is working for me without any other changes to the code.
ni...@gmail.com <ni...@gmail.com> #365
[Deleted User] <[Deleted User]> #366
I got an error 'Service Spreadsheets failed while accessing document with id xxx' at moveActiveSheet(1).
al...@gadgetrecycling.ltd <al...@gadgetrecycling.ltd> #367
mi...@googlemail.com <mi...@googlemail.com> #368
st...@gmail.com <st...@gmail.com> #369
al...@datarevolt.agency <al...@datarevolt.agency> #370
si...@tmx.com <si...@tmx.com> #371
si...@tmx.com <si...@tmx.com> #372
pu...@gmail.com <pu...@gmail.com> #373
nf...@clustermarket.com <nf...@clustermarket.com> #374
da...@ask.com <da...@ask.com> #375
ga...@masabi.com <ga...@masabi.com> #376
ja...@google.com <ja...@google.com> #377
Hello!
A fix has rolled out. It should work for most of the users, but it might take some time to propagate to everyone.
Please let us know if you still experience this issue. If you do, make sure you are using the V8 runtime.
Thank you!
ra...@google.com <ra...@google.com>
nf...@clustermarket.com <nf...@clustermarket.com> #378
=importdata() is still not working. A fix was promised 3 times now, always saying it will work within the next 24 hours. Still broken after 4 days.
ro...@gmail.com <ro...@gmail.com> #379
Please let us know if you still experience this issue. If you do, make sure you are using the V8 runtime.
The V8 runtime has a large list of issues reported on this IssueTracker (
Until those issues are also resolved, we please ask that fixes are not contingent on using a specific runtime.
Specifically, we cannot migrate our applications to V8 due to our reliance on Time Based triggers which are not returned by ScriptApp.getUserTriggers(form)
when using the V8 runtime (reported in this issue
ji...@jimesteban.com <ji...@jimesteban.com> #380
I understand that you have rolled out a solution. Just wanted to let you know that I'm still seeing this problem in only one file. It's giving me the error:Exception: Unexpected error while getting the method or property getContacts on object ContactsApp. (line 2, file "ag1")
and the line of code is `var contactsA=ContactsApp.getContacts();A detailed explanation is available
ji...@jimesteban.com <ji...@jimesteban.com> #381
I'm sorry my recent comment was an issue that is unrelated to this problem. I was told that under the hood ContactApp.getContacts() utilized UrlFetch so we thought it was related but the problem was that I need to enable the Contacts API in the Cloud Project. So sorry for the mixup.
[Deleted User] <[Deleted User]> #382
fi...@gmail.com <fi...@gmail.com> #383
fi...@gmail.com <fi...@gmail.com> #384
Utilities.formatDate(new Date(), 'Europe/Dublin', 'YYYY-MM-0d')
returns
2021-12-030
Note 2021 instead of 2020
fi...@gmail.com <fi...@gmail.com> #385
cl...@gmail.com <cl...@gmail.com> #386
URL is called but header info doesnt appear to be being passed.
Description
"Several days ago, we've noticed that there has been a 10-fold increase of "Unexpected error" for all our users.
It happens when we call the UrlFetch() method. Re-running the operation works fine in most cases, however this increased the number of errors that are being reported to our support dramatically.
The issue is random, so there's no way to reproduce it consistently."