Error on BOT using Apps Script

Hi, can anyone take a look at this error:

Nadhirah_0-1723533878990.png


Do you have any idea why this happen cause it only occur after I add new table or regenerate schema which is weird as it will not happen to small changes to existing table.

1 18 486
18 REPLIES 18

Are you the only person who has edit access to that appscript project?

For now yes, I only give access to certain people too(2 other acc). is it related??

Check if the script produces an error message on the apps script interface, are the scripts and the table come from the same file or does the apps need permissions granted.

what do you mean by scripts and table come from same file? For scripts i used appscript file and table is from spreadsheet. it does not show any error in the apps script interface.

That is right, we can not call a script thats is inside a sheet.

Does the error appears during the bot execution, or does it appear after data regeneration?

It happens only after any regeneration of data or adding new table only

 

Can we have a screenshot of your function task in the context of the bot it is in?

Is it this one?

Nadhirah_0-1723709654187.png

 

Yep!  That all looks good to me.  Maybe give the refresh button a tweak in case the script has been modified beyond what appsheet was expecting?

scott192_0-1723710879336.png

 

It all looks fine until I regenerate other table or add new table. The script does not change. If the error happens then I just put some double quote or remove it from the function parameters and save it then it will works fine. Its just that it is weird why that error keep on happening.

Maybe try adding quotes around the text parameters?  "Ejector System"  and "Monthly" ?

Thats what I did to save it again cause usually after saving it it works
fine. The error also occurs on bots that were related in the particular
spreadsheet that i am regenrating or adding new table from. Even if
initially it have the double quotes, the error still show.

Could the regeneration triggered the bot to run, because it detect the event as new rows being added?

Not sure but supposedly regeneration only if new column is added though

Regeneration rebuild the structure and re add the rows. I dont suppose you will add new column every so often.
Disable the bot before regeneration and enable it after the process completed.

Maybe that could work, I will give it a try. But I still feel weird cause some of the bots works fine. Its just that one app have around 50-100 bots... I will ask for support. Thanks for helping though thank you ๐Ÿ™‚

Almost every weekend, automation often doesn't work to send webhooks โ€Œโ€Œ

I happen to use the API to send Whatsapp messages.

Please be serious about appsheet regarding this matter. Thank you

How do we escalate this issue to appsheet support team?

Top Labels in this Space