Error Código.gs:2 Cannot read property 'parameter' of undefined

497 views
Skip to first unread message

GATOS PROTECTORA

unread,
Aug 2, 2022, 9:35:24 AM8/2/22
to Google Apps Script Community
hello, im trying to include a search google drive folder into my google sites using this GAS code but every time I try to execute this code i get the following error:
TypeError: Cannot read property 'parameter' of undefined
doGet
@ Código.gs:2
This is the code i'm using:
screenshot.png
I do change the File Id section with the id of my google drive but i still get that error
Also i don't know what to change in the "fullText contains" section

Ty in advance!!

Edward Ulle

unread,
Aug 2, 2022, 10:20:35 AM8/2/22
to Google Apps Script Community
How are you trying to execute this code?  You need to put the link in a browser and include the parameter as shown in this link https://stackoverflow.com/questions/14736630/parameter-passing-to-webapp-on-dogete
Reply all
Reply to author
Forward
0 new messages