It looks like you provided the wrong url perhaps. I usually prefer using only the ID of the form as that is more straightforward.
Use var googleForm = FormApp.openById(formId);
Id can be found in the URL when you edit a form as follows:
https://docs.google.com/forms/d/1GSSUA6BXsUXtNES31FFF1lHZU-KvVNPdS5ky7J7fVuA/edit
in the example above, the Form Id starts with 1GG and ends before the /edit.
so in your code, define it as follows:
var formId = “1GSSUA6BXsUXtNES31FFF1lHZU-KvVNPdS5ky7J7fVuA”;
--
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/174e043b-f97b-4bc7-92ef-bcfb6db15bd7n%40googlegroups.com.