Filter by id's with airtable api


I’m having trouble filtering data from a table that is linked to another. I am getting the id of a company and when I want to show all the branches of the compant it return an error or and empty array. I am trying to filter them by the ID of the company.

The structure of the branches is:
‘ID_COMPANY’: [ someId ],
‘COMPANY’: [ companyName ]

What I was trying to do was: filterByFormula={ID_COMPANY}="someId"
and it didn’t work, but when I did this: filterByFormula={COMPANY} = "companyName"
it did work.


Can you help me?

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.