I can't upload photos - eviltoast

JSON.parse: unexpected character

I keep getting this error code when I try to upload photos, even if I save them from paint. It happens if it’s png or jpg. Can someone help me?