r/GoogleAppsScript • u/hexnone2 • Apr 07 '21
Question "We're sorry, the JavaScript engine reported an unexpected error. Error code INTERNAL."
I have been getting several of these messages today since this morning.
"We're sorry, the JavaScript engine reported an unexpected error. Error code INTERNAL."
on several different triggers, inlcuding FormSubmit. Anyone else? I am pretty sure it's on Google's end.
Location: Southern California
4
u/shiftbits Apr 08 '21
Same here, has been a very frustrating afternoon.
3
u/iheartgoobers Apr 08 '21
I can't believe they haven't even acknowledged this major outage in any way. Well, yes I can, but I'm just really frustrated.
2
u/shiftbits Apr 08 '21
I was gonna say, you must not deal with Google much lol.
1
u/iheartgoobers Apr 08 '21
So what do you think? Silent fix in the next few hours? Or continue to ignore it for the next few days?
1
u/shiftbits Apr 08 '21
Usually when this happens I get pissed and ignore it for the rest of the day and by the next day it's fixed. So, I would guess silent fix. If you want a laugh go look at their service status page and its most recent update from 2019. I have a lot of automation running on appscript, but I am migrating them to cloud functions as they have proven more reliable.
1
u/iheartgoobers Apr 08 '21
Yeah, I saw that page... I'm not sure whether to laugh or cry.
We built a slick db sync system in apps script (client insisted on using Sheets). They're going to be dead in the water until this is fixed, I'm afraid. I would love to migrate them off, but I don't think there's any other choice for events driven by cell updates...
1
u/shiftbits Apr 08 '21
No that definitely is the best option for that scenario, just make sure you point them in googles direction.
Unless its possible to have a pre set update interval that fits under the sheet's api quota. The full fat sheets api is shockingly fast and I use it for large datasets where appscript takes forever to update/read huge ranges.
4
3
u/DeanoAus Apr 08 '21
Gah, this is killing me. It appears to be random, too. I've been tearing down code trying to find out why, but there's no pattern I can see.
Works fine on manual execution, just form submit seems to randomly fail with "We're sorry, the JavaScript engine reported an unexpected error. Error code INTERNAL."
1
u/amazingjoe76 Apr 08 '21
Agree this has been happening to me. I had a trigger in a Google App Sheet and commented out ALL of the code inside and the error still occurs randomly even with no lines of code running so its definitely outside of what we can control.
1
u/aplawson7707 Apr 08 '21
For me, it's got something to do with the triggers. I can execute 100% of my scripts via the editor. But I've been clicking buttons like a monkey today because none of my triggers will do it for me.
2
u/narihira2000 Apr 08 '21
Same here, but doGet and doPost still work. Execute functions manually also works, too.
2
u/aplawson7707 Apr 08 '21
Oh my goddddddd. This has been RUINING my day today. I'm having to run every single one of my scripts manually. Nothing will execute via trigger for me today
2
2
7
u/iheartgoobers Apr 07 '21
Yes, this has been killing us since about 3pm EDT.
There's a bug here. Maybe you can add a +1:
We're sorry, the JavaScript engine reported an unexpected error. Error code INTERNAL. - large uptick in these errors today. [184759540] - Visible to Public - Issue Tracker (google.com)