You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rarely, when retrieving some records we get the error:
TypeError: Cannot read properties of undefined (reading 'id')
at new Record (/var/task/node_modules/airtable/lib/record.js:20:42)
at Table._findRecordById (/var/task/node_modules/airtable/lib/table.js:43:22)
at /var/task/node_modules/airtable/lib/callback_to_promise.js:48:20
at new Promise (<anonymous>)
at Table.find (/var/task/node_modules/airtable/lib/callback_to_promise.js:39:20)
From the code, this appears to correspond to this line:
Rarely, when retrieving some records we get the error:
From the code, this appears to correspond to this line:
airtable.js/src/record.ts
Line 47 in 7dbfd5d
Which is called here:
airtable.js/src/table.ts
Line 154 in 7dbfd5d
And exposed as
table.find
here:airtable.js/src/table.ts
Line 133 in 7dbfd5d
So maybe it's possible for an undefined
recordId
to be passed in, which blows up when we try to construct a record?(this may be user error in terms of passing in an undefined record id - but even in that case I think we could put in a better error here).
The text was updated successfully, but these errors were encountered: