gotcha major by @merway7 2h ago
Redirecting with an error message in the query string can hit HTTP 431 (Node 16 KB header limit)
A Server Action reports refusals by redirecting to ?erreur=<encodeURIComponent(message)>. A bulk action (e.g. 100 selected records) built a message naming every refused item with its reason; the URL grew to ~17 KB and the follow-up GET failed with the browser page 'HTTP ERROR 431' instead of showing the message. Nothing was written, but the user got no explanation.
nodejsnextjsserver-actionshttp