Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Api update error 502

277 1
cancel
Showing results for 
Search instead for 
Did you mean: 

I have written a payroll system in React.js. Using airtable as the database and netlify as hosting for my web app.
When in development, I run in my localhost and I can update my records without any error 502. But when I deploy my production to netlify, it gave api update records error 502.

Any helps will be greatly appreciated.

Thank you.

1 Reply 1

Hi PV, and welcome to the community!

This 502 error sounds familiar and maybe this is the cause.

I have a hunch that Netlify Functions based on Amazon Lambda currently only supports Node 12 [source] . So something like a conditional chaining operator (?.) that is only supported in Node 14, a version you are likely using locally would cause this experience.