Skip to main content

All Questions

-1 votes
1 answer
1k views

PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x11020f880>

I am trying to upload images to s3 via API gateway and sending base64 encoded image's bytes data through API gateway's REST endpoint. Below is the python code that works if i hardcode the bytes data ...
Poonam's user avatar
  • 49