I don’t know. In the past I had problems with sending http requests containing large base64 data and was told by the Wix Team that’s it’s limited to 512kb.
Maybe that’s related to your issue but it doesn’t explain why it logged the “CONSOLE DISPLAY 2” and not the next line.
Have you tried it with small images?