Possible problems

  • In Google Forms, don't change the name of the survey after the survey export, it breaks the response import function.
  • In Google Forms, don't rename Google Disk folders created by the script, it breaks the import responses function.
  • Remember that each Google form requires to accept permissions - you can accept them with the first run of the script. Then you have to run the script again. In Google Form settings, make sure you have unchecked the “Restrict to users in someCompany” option. Without that, the script does not work.