Skip to main content
Question

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

  • May 22, 2025
  • 5 replies
  • 92 views

Forum|alt.badge.img+1

[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 [422] 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.

5 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • May 22, 2025

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


TheTimeSavingCo
Forum|alt.badge.img+31

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


dilipborad
Forum|alt.badge.img+23
  • Brainy
  • May 23, 2025

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.
👍

 


ScottWorld
Forum|alt.badge.img+35
  • Genius
  • May 23, 2025

@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 


Mike_AutomaticN
Forum|alt.badge.img+28

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