Started a fresh setup based off the 3.0 beta with nextjs and encountered this TypeError.
TypeError: Response body object should not be disturbed or locked
at extractBody (node:internal/deps/undici/undici:5089:17)
at new Request (node:internal/deps/undici/undici:6070:48)...Might be triggered by the api/[...slug]/route.ts under (payload)
I'm seeing the same issue. It seems to be random. I have two simple test pages I created. The issue occurs when I click on either one of the pages in the Admin section.
I click a page, click back to the "Pages" link in the left menu, then click the other page. The problem shows up intermittently and so far I don't see it when I'm on the front end, only when I'm on the Admin section.
Known issue that should be fixed in next beta release.
https://github.com/payloadcms/payload-3.0-demo/issues/96super! thanks a lot elliot!
Star
Discord
online
Get dedicated engineering support directly from the Payload team.