Replies: 2 comments 1 reply
-
Can you share the full stack trace? What version is this? This looks like #19476 which was addressed in 5.0.0-rc2 (#25799). Can you test your scenario on that release to confirm? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Tratcher thanks for the response.
Web project references Microsoft.AspNetCore.App - 3.1.8
Should I provide any details? UPD:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having issue with large POST request.
I start debugging a project with VS 2019 using console (not IIS Express).
Make a 5 Mb x-www-form-urlencoded PSOT request with a pretty long field (comes from WYSIWYG editor).
And get InvalidOperationException: The examined position cannot be less than the previously examined position. at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_InvalidExaminedPosition()....
If I Change FormOptions.ValueLengthLimit to bigger value - everything works fine.
Are there any thoughts on why I'm not getting model error or something more meaningful ?
However if I debug via IIS Express I correctly see a model error like "Failed to read the request form. Form value length limit 4194304 exceeded."
Beta Was this translation helpful? Give feedback.
All reactions