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.
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.
This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.