I suggest using a separate service for uploading your images and then link to your upload using the URL field before posting. Catbox works really well. The reason for the error is more than likely because the image is too large for what the instance has set.
This also keeps resources free on the instance you’re using.