Validation error after using await request.form() in middleware
#3207
Unanswered
ffailwp6
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I recently got an unexpected validation error after retrieving form data from a request in middleware (FastAPI 0.135.2). It turned out that adding
await request.body()before callingrequest.form()solved the issue, but it is not very elegant. Maybe related to #495?Beta Was this translation helpful? Give feedback.
All reactions