DEV Community

loading...

Discussion on: Hitting a Cloud Function when you submit a Google Form

Collapse
fusionx1 profile image
Paul Jebulan de Paula

Hi Im also having a problem after setting it up my google form and cloud function. I tested them both separately, like the trigger works completely without fail and cloud function work if executed directly cloud function dashboard i can see right away the logs however when doing an actual test to the form like submitting the form i don't get any cloud function logs.

Collapse
di profile image
Dustin Ingram Author

Hi there, can you share some more details? What does your Cloud Functions and Apps Script trigger look like?

Collapse
fusionx1 profile image
Paul Jebulan de Paula

Hi Dustin, I'm just following the whole instruction you shared. But I cant catch it from the logs it seems that its not being executed when i'm submitting a form.

Thread Thread
di profile image
Dustin Ingram Author

Perhaps a silly question, but did you make sure to update var url = "<YOUR CLOUD FUNCTION URL>"?

Thread Thread
fusionx1 profile image
Paul Jebulan de Paula • Edited

ow yes and it works and it prints ok when accessing that url - us-central1-xxxxxx-csapps.cloudfun...

From the logs i can only see the image attached when I'm manually triggering it from the dashboard. See dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
fusionx1 profile image
Paul Jebulan de Paula

It seems that this doesn't work anymore. Confirmed that trigger doesn't execute the URL anymore.