Trigger for Google Apps Script not functioning consistently for form submissions

469 views
Skip to first unread message

Naoki

unread,
Jun 7, 2023, 3:33:51 AM6/7/23
to Google Apps Script Community
Hi there,

I have a question regarding the trigger settings in Google Apps Script. I have set the event type to "On form submit" in the trigger configuration. Normally, when I submit a Google Form, the trigger works correctly and the associated script starts running. However, I have noticed that occasionally, even when I submit the form, the trigger fails to function, and the script doesn't start running.

I have verified that the trigger settings are correct, so I suspect that there might be some sort of communication error occurring. Could you please help me identify potential causes and provide some possible solutions for this issue?

Thank you in advance for your assistance!

Best regards,
Naoki

Fanny Hasbi

unread,
Jun 7, 2023, 4:45:56 AM6/7/23
to Google Apps Script Community
It also happened to me. Is this issue just appear recently?

Naoki

unread,
Jun 7, 2023, 4:51:55 AM6/7/23
to Google Apps Script Community
Yep, it appeared today.
The problem started occurring approximately 10 hours ago.

2023年6月7日水曜日 17:45:56 UTC+9 fanny...@mekari.com:

Anton Lisun

unread,
Jun 7, 2023, 4:48:19 PM6/7/23
to Google Apps Script Community
Hello! Same problem here, starting occurring today!

Anton Lisun

unread,
Jun 7, 2023, 4:49:11 PM6/7/23
to Google Apps Script Community
Want to add - no error or anything. The submission just never gets to the apps script piece. It seems to be the "OnFormSubmit" trigger itself that's broken. 

James Tang Hing Lung

unread,
Jun 7, 2023, 8:33:42 PM6/7/23
to Google Apps Script Community
Same to me. Starting yesterday. I tried to fix it temporary by renaming the function, then delete the onformsubmit trigger and re-schedule it again.  It worked a few times but then it didn't work again this morning.

中村良徳

unread,
Jun 7, 2023, 9:17:50 PM6/7/23
to Google Apps Script Community
Same to me.

I would like to ask everyone, how many responses are written in the spreadsheet that contains the answers to the Google Form?

The purpose of the question is to determine if there are any GAS scripts among several, specifically those that are not functioning properly if the number of responses exceeds 1500. Yesterday, there was an issue where only those scripts failed to run. Therefore, I would like to investigate if one of the conditions causing the problem is having more than 1000 responses.
2023年6月8日木曜日 9:33:42 UTC+9 James Tang Hing Lung:

cbmserv...@gmail.com

unread,
Jun 7, 2023, 11:31:41 PM6/7/23
to google-apps-sc...@googlegroups.com

Usually the responses are recorded in the spreadsheet very consistently even if the trigger fails to trigger or if your software has a bug causing it to fail to run.

 

Having the responses in the spreadsheet gives you an easier way to recover from any failures (i.e. rerunning it manually to do whatever action you need).

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/a4309764-8a14-4214-b68e-23ff0c9225c9n%40googlegroups.com.

Tom Smith

unread,
Jun 8, 2023, 7:38:07 AM6/8/23
to Google Apps Script Community
I had it too... 5+ rows in the Spreadsheet and no respective rows/errors in the Executions log.

The issue is not "being able to patch up things up" later, but even knowing that onFormSubmit didn't fire.

Phil Bainbridge

unread,
Jun 8, 2023, 8:19:43 AM6/8/23
to Google Apps Script Community

Yes, also noticed Google Form Triggers randomly failing to trigger over the last 24hrs. So nothing at all in the Execution log to show it even attempted to fire.

Phil Bainbridge

unread,
Jun 8, 2023, 8:24:57 AM6/8/23
to Google Apps Script Community

Somebody has created a bug on the Google Issue tracker - it would be worth people '+1' and add your comments to raise its visibility.

Petrius Fabricio Ferreira

unread,
Jun 8, 2023, 12:33:25 PM6/8/23
to google-apps-sc...@googlegroups.com
Thank you all

(31)982132032

"Aquila non capit muscas." - Giovanni Battista Casti


--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.

Naoki

unread,
Jun 9, 2023, 3:30:37 AM6/9/23
to Google Apps Script Community
Thank you, everyone.
It appears that the Google Engineering team has implemented the necessary fixes.

2023年6月9日金曜日 1:33:25 UTC+9 fabric...@gmail.com:
Reply all
Reply to author
Forward
0 new messages