Help

Scripting help

Topic Labels: Scripting
Solved
Jump to Solution
977 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Jeff_Hladek
5 - Automation Enthusiast
5 - Automation Enthusiast

Probably a simple solution, but I can not figure it out. 

I am using the following script to try to get a list of all of the records in a specific table.

let table = base.getTable("Codes");
let query = await table.selectRecordsAsync();
console.log (query)
 
When I run this, I get the following error
 
O: No field with ID fldwfud1d0wv3rdVD in table 'Codes'
    at main on line 2


When I run this same coding using one of the other tables, it works as expected. Any ideas on how to fix this? It is getting in the way of the larger script I am trying to write.
1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, that seems fine and you shouldn't hit that error since you're not declaring what fields you want to grab.  If I were you I'd try deleting the scripting block / scripting automation action and retry it to see if that helped

See Solution in Thread

1 Reply 1
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, that seems fine and you shouldn't hit that error since you're not declaring what fields you want to grab.  If I were you I'd try deleting the scripting block / scripting automation action and retry it to see if that helped