Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Response body object should not be disturbed

default discord avatar
tonymif.2 years ago
3

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)

  • default discord avatar
    darrind.2 years ago

    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.

  • discord user avatar
    denolfe
    2 years ago

    Known issue that should be fixed in next beta release.

    https://github.com/payloadcms/payload-3.0-demo/issues/96
  • default discord avatar
    tonymif.2 years ago

    super! thanks a lot elliot!

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.