'utf-8' codec can't decode byte 0xff in position 0: invalid start byte #9500
Unanswered
lalitmahato
asked this question in
Potential Issue
Replies: 1 comment
-
I think this is |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Issue:
When uploading data with an image, the following issue occurs if some PrimaryKeyRelatedField is missing or the field ID is not valid. If I don't upload any image file, then expected output field validation issues arise.
Encountered Issue:
If I send some missing or invalid data with image files, the following issue occurs. However, the expected result was a validation issue.

Validation Issue [expected output]:
The API shows the following output if I don't send any image file, which is the expected output.
My model Looks like:
Serializer looks like:
View looks like:
Beta Was this translation helpful? Give feedback.
All reactions