You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything was working fine, until I added album_id parameter in put_photo. Then I started getting:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 345: ordinal not in range(128)
Turns out my album_id was an int. Just had to cast it to str() when calling put_photo for everything to work.
For some reason, images generated with PIL throw a UnicodeDecodeError when trying to upload to Facebook.
Tested opening the image in Photoshop and saved as a new copy, and that image uploaded fine.
The text was updated successfully, but these errors were encountered: