Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

How to get a record without recordID?

Solved
Jump to Solution
237 1
cancel
Showing results for 
Search instead for 
Did you mean: 

is there any way to access a single record via airtable API without using recordID?
tried SEARCH() filterbyformula but not working since it is a number field.
Screenshot 2021-11-06 165244
need to access records based on the SerialNumber.

thanks in advance

1 Solution

Accepted Solutions

Welcome to the Airtable community!

When using filterByFormula you need a valid formula. SEARCH expects a text string, not a number. Test your formula in a formula field in the Airtable user interface before putting it in filterByFormula. You should be able to use a simple filter like {SerialNumber}=5 to get the record where the SerialNumber is 5.

See Solution in Thread

1 Reply 1

Welcome to the Airtable community!

When using filterByFormula you need a valid formula. SEARCH expects a text string, not a number. Test your formula in a formula field in the Airtable user interface before putting it in filterByFormula. You should be able to use a simple filter like {SerialNumber}=5 to get the record where the SerialNumber is 5.