"Value error, Expected UploadFile, received: <class 'str'>" #11596
Unanswered
markodjordjic
asked this question in
Questions
Replies: 3 comments 20 replies
-
Hi!
|
Beta Was this translation helpful? Give feedback.
8 replies
-
@markodjordjic I don't think the way you initialize the UploadFile is incorrect but the way you're testing it since |
Beta Was this translation helpful? Give feedback.
3 replies
-
Add a MRE: https://stackoverflow.com/help/minimal-reproducible-example |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Operating System
Windows
Operating System Details
Windows 11 Pro
FastAPI Version
0.111.0
Pydantic Version
2.7.1
Python Version
3.11.0
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions