Preview TypeError - Next.js

Prismic Preview in Next.js App router has suddenly stopped working across all projects on our local machines.

Accessing the /api/preview route resolves in the same error across all projects.

TypeError: Response body object should not be disturbed or locked

Versions`:

    "@prismicio/client": "^7.3.1",
    "@prismicio/next": "^1.5.0",
    "@prismicio/react": "^2.7.3",
    "next": "14.1.4",
    "@slicemachine/adapter-next": "^0.3.38",

Suddenly resolved itself.

1 Like