Hi,
My client’s site is crashing, with 502 errors and an Invocation Failed message on all pages.
I’ve moved the site to co-supermarket.netlify.app, though that is not the primary domain (where the errors are occuring).
The builds are working. Here is the error from the Next.js Server Handler function logs. This error repeats every second:
Dec 10, 04:38:10 PM: 03efa9ef ERROR Uncaught Exception {“errorType”:“TypeError”,“errorMessage”:“Cannot read properties of undefined (reading ‘toString’)”,“stack”:[“TypeError: Cannot read properties of undefined (reading ‘toString’)”," at Yd.prepareHeaders (file:///var/task/___netlify-bootstrap.mjs:2:99473)“,” at Yd.annotateFromRequest (file:///var/task/___netlify-bootstrap.mjs:2:98884)“,” at Yd.onRequestCreate (file:///var/task/___netlify-bootstrap.mjs:2:100758)“,” at Channel.publish (node:diagnostics_channel:141:9)“,” at new Request (node:internal/deps/undici/undici:7396:27)“,” at [http1 build request] (node:internal/deps/undici/undici:7497:16)“,” at [dispatch] (node:internal/deps/undici/undici:8609:139)“,” at Intercept (node:internal/deps/undici/undici:8289:20)“,” at [Intercepted Dispatch] (node:internal/deps/undici/undici:6856:16)“,” at Client.dispatch (node:internal/deps/undici/undici:6872:44)"]}
The site is on Next 14.2.3 and React 18
In the Web Security Tab from the client Netlify instance, there was a large spike of allowed traffic two days ago:
Any help would be much appreciated! Thank you.
