Skip to main content

[URGENT HELP] Error 422 in Make.com + Airtable – “Invalid Formula” in Search Records even with correct fields

📌 The problem

I'm constantly getting this error:

 

pgsql

CopiarEditar

RuntimeError t422] The formula for filtering records is invalid: Invalid formula. Please check your formula text.

Even though all the Airtable field names are correct, Make.com keeps rejecting the formula.

🧩 Airtable Table Details:

  • Table Name: Table 1

  • Fields:

    • Nome do Cliente (Single line text)

    • Produto

    • Qtd

    • Valor do produto

    • Valor Total

    • Data da Entrega ✅ Confirmed: Date with time format

❌ Formulas tested (all returned 422 errors in Make):

 

plaintext

CopiarEditar

AND( {Nome do Cliente} != "", IS_AFTER({Data da Entrega}, DATEADD(TODAY(), -5, 'days')) )

Also tried with IS_BEFORE, simplified formulas, and also using "ok" in a formula field with static text — still getting the error.

✅ Formula that worked in a previous database:

 

plaintext

CopiarEditar

AND( {Cliente} != "", IS_AFTER({Entrega}, DATEADD(TODAY(), -30, 'days')) )

But this time the fields are different (Nome do Cliente and Data da Entrega), and the same logic doesn't work.

📎 Notes:

  • Field names are 100% correct (copied directly from Airtable).

  • The date field is properly formatted with date and time.

  • Formula works perfectly inside Airtable, just not in the Make.com “Search Records” module.

  • Tried escaping quotes, pasting from Notepad, switching fields — still fails.

❓What I need:

  1. Help from someone who successfully used a formula with DATEADD and IS_AFTER/IS_BEFORE in Make.com.

  2. A known working example of a filter formula with Airtable dates.

  3. Any trick to avoid silent formatting issues or “invisible character” errors in formulas.

That error message you’re receiving is from Airtable (not Make), so Airtable is rejecting your formula. I would double-check to make sure that you’ve chosen the right base & table in Make.

- ScottWorld, Expert Airtable Consultant


Hmm as a data point, your formula worked fine for me.  If I were you I’d try:

  1. Creating a new base, replicating it and testing it
  2. If that doesn’t work, create a new connection and link it to the new base and test it

Just so you can rule out any weird permissions / auth issues you know what I mean


Hello ​@daniel reis,
The regular Airtable formula and the formula used with the Airtable search module in make is really different. https://support.airtable.com/docs/airtable-web-api-using-filterbyformula-or-sort-parameters

Regular formula in Airtable returns multiple type of data depends of given input. But `filterByFormula` is always returns true/false (0/1). If any of the row is passed then it’s included in search results.

Follow the instructions of ​@TheTimeSavingCo, how he tested things in separate field.

See more at here on Make community and also search for 422 error with airtable. https://community.make.com/t/airtable-formula-issue-search-records/82336

I hope this helps to you.
👍

 


@dilipborad His formula is totally 100% fine for using with Make. The 422 error indicates another problem, such as choosing the wrong base or table, or possibly wrong oAuth permissions.

- ScottWorld, Expert Airtable Consultant 


Hey ​@daniel reis were you able to get this solved?

Feel free to reach out otherwise and we can take a look at it together/you can share access to the workspace and I can go through it!

Mike, Consultant @ Automatic Nation


Reply