"An illegal choice has been detected"
I found the answer here.

The required field radio button was not selected, when the image was uploaded. It seems an error with the form validating when the image is uploaded.