2 people reported
All time, since Sep 28.
Server actions 500 on stale shell
“That re-render uses the same req, so handleAction runs a second time on an already-consumed body.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/next-js/issues/4137/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Server actions return 500 when prerendered shell is stale. Under next start with cacheComponents on, background revalidation re-runs handleAction on the same request's already-consumed body.
Is this your bug?
File my report- Where
- Server Actions
- Error text
SyntaxError: Unexpected end of JSON input- Versions
- 16.3.4 to 16.3.6
- Platforms
- macOS
- How bad
- Breaks a normal workflow.
Not quite your bug?
- No-JS form submits return 5001 person
Original reports4, newest first
- Server action POST on a stale PPR shell re-runs the action handler on the same request (16.3.4, 16.3.8)On GitHub#99564
- Server action POST on a stale PPR shell re-runs the action handler on the same request (16.3.4, 16.3.8)On GitHub#99563
- Server action POST on a stale PPR shell re-runs the action handler on the same request (16.3.4, 16.3.8)On GitHub#99559
- Server action returns 500 under
next startwhen the page's prerendered entry is stale (background revalidation re-runs the action on the consumed body)On GitHub#99373