Need advice on how to make this work ( adding scrript for other person)

Skip to first unread message

Tony Tan

Jun 26, 2022, 9:54:45 AM6/26/22
to Google Apps Script Community

so im tasked to make a script on a google form that upon submitting it moves all uploaded files to a specific folder.
i was added as a collaborator on the form itself and he also shared the folder of the drive that will have the final destination(this will be the folder my script will move all the files to) of the files being uploaded
when i tested it on a form that i own and drive that i own it works perfectly but when i added my script into their form it doesn't move the file.
i checked the log file and it gives me error below
{ [Exception: No item with the given ID could be found. Possibly because you have not edited this item or you do not have permission to access it.] name: 'Exception' }```

what do i need in order for me to move the files of someone else's form and drive?


Jonathan Butler

Jun 26, 2022, 10:06:33 AM6/26/22
Can't you have the person who put you on this project install the onFormSubmit trigger? Then it will run with their permissions and be able to move the files into the folder.

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
To view this discussion on the web visit

Tony Tan

Jun 26, 2022, 10:22:45 AM6/26/22
to Google Apps Script Community
ill try this

Tony Tan

Jun 26, 2022, 10:52:58 AM6/26/22
to Google Apps Script Community

just wanna ask if there really is no other way
On Sunday, June 26, 2022 at 10:06:33 PM UTC+8 wrote:
Reply all
Reply to author
0 new messages