Name of the website: thescrapbookers.blog
I am not quite sure what is going on but I am randomly getting a 500 error when accessing some of my SSR pages. The problem is that this never happens on local and in production only happens from time to time. So even when I access the same page (for example this Buddha di Smeraldo: Odissea nel sud-est asiatico | The Scrapbookers), half the times it works and the other half it fails with
May 12, 07:36:18 PM: 7a700c9d ERROR TypeError: Found invalid object in transferList at structuredClone (/var/task/node_modules/next/dist/compiled/undici/index.js:2:7516) at cloneBody (/var/task/node_modules/next/dist/compiled/undici/index.js:2:2108) at cloneResponse (/var/task/node_modules/next/dist/compiled/undici/index.js:2:54244) at Response.clone (/var/task/node_modules/next/dist/compiled/undici/index.js:2:53667) at /var/task/.next/server/chunks/287.js:17878:22 at async getCountry (/var/task/.next/server/chunks/202.js:48:17) at async CountryPage (/var/task/.next/server/app/[locale]/[continent]/[country]/page.js:639:26) { code: 'ERR_INVALID_TRANSFER_OBJECT' }
The error message though is not particularly useful either as it just gives me a digest id which I have no idea on how to use.
Codebase for the repo can be found here: