There was an unexpected error while executing your script

Topic Labels: Scripting extentions
818 2
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer


I try to test scripting but i have a generic error that really doesnt help me to find the solution :slightly_smiling_face:

“There was an unexpected error while executing your script.”

let table = base.getTable("Max");

let queryResult = await table.selectRecordsAsync();

let record = queryResult.records[0];


My goal is to have a trigger where i get the new row & do several things

2 Replies 2

Welcome to the Airtable community!

Can you post a screen shot of your script?

Are you running the script in Scripting App or as an automation?
Do you have a table named “Max”?
Does that table have a field named “Rue”?
Are there records in the table?

Hello kuovonne,

Thank you for your response. I finally use the variable in “input”, so far it works.

I have an other question, i have to plug quickbooks & airtable. quickbooks use Oauth2 so i need to let the user log himself and get back to airtable.

Is it possible using a trigger ?