Merged
Conversation
get-started/get-help.md
Outdated
| | | Explanation | | ||
| |--------------|----------------------------------------------------------------------------------------------------------------------| | ||
| | _Root Cause_ | `431` occurs when the size of the request headers exceeds the maximum limit configured in the Node.js HTTP server. In this case, Node.js rejects the request during the initial parsing phase, before it reaches the application, middleware, or logging logic. Therefore, the request is not processed or logged by the application. | | ||
| | _Solution_ | Inspect the request headers and check their size, especially the Authorization header for large `JWT` tokens. Reduce the header size if possible (for example, by removing unnecessary roles or attributes). If large headers are required and cannot be reduced, increase the maximum allowed HTTP header size in Node.js by setting the following environment variable `NODE_OPTIONS="--max-http-header-size=65536"` | |
Contributor
There was a problem hiding this comment.
I'd leave out the jwt and roles. That's specific to one possible root cause.
Co-authored-by: Johannes Vogel <[email protected]>
renejeglinsky
approved these changes
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: https://github.tools.sap/cap/cdsnode/issues/2588