error using Goggle apps script in a automation

Hello!

I have a code in Google Apps script that I am using in an automation in my app. It is not working, I want to obtain the link of my pdf file, but the column is empty when I trigger the automation.

How can I use a kind of "log message" , I need to see what happens with the script in appsheet, why the link is not written in my column?

Thank you for your help!

p.s. in google apps script in Execution, there is errors: if I activate "return values" - TypeError: Cannot read properties of undefined (reading 'parameter') at doGet(Code:2:20), if I  activate "return values" but without give something in "Specific type" - "Name", this error : "TypeError: Cannot read properties of undefined (reading 'fileName') at doGet(Code:2:30)".

Many thanks!

Regards!

Ruxandra

0 14 2,204
14 REPLIES 14
Top Labels in this Space