Object missing error in Appscript execution from Appsheets

Hi All,
I’m trying to copy a table rows into another table using below Appscript.

When i execute it from appsheet bot it is throwing

Error

ReferenceError: AppSheet is not defined.
Can anyone help me with this?
thanks.

I have created several Google scripts but normally just interact with the sheet or database directly. I am not aware of an “AppSheet” library. But that does not mean there isn’t one I haven’t heard of yet.

Where did you find the statement “AppSheet.Tables”?

If there is such a library to use in our scripts, I’m not finding it in the GAS documentation. So, if you have access to such a custom library, you’d need to follow this GAS article for adding Libraries into the script:

https://developers.google.com/apps-script/guides/libraries

1 Like