Hello!
Do you know how to fix this error?
“Warning: data for page “/[[…catchall]]” (path “…”) is 6.58 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
[ERROR] [1708002714005] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 413.”
largePageDataBytes option is not working
next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
// Turn off React StrictMode for now, as react-aria (used by Plasmic)
// has some troubles with it. See
// <https://github.com/adobe/react-spectrum/labels/strict%20mode>
reactStrictMode: false,
experimental: {
largePageDataBytes: 128 * 10000000000,
}
};
module.exports = nextConfig;
@jason
I have pages where payload is much bigger than 128kb but they don’t crash the app
But one specific page not opening and I see 500 error
BTW, all is working locally but not on Vercel