If it works when you have only image_file
and no cover
, and it fails when you have only cover
and no image_file
, then it’s nothing to do with having two images, and something specific to the cover
field. I’d try removing all the validation for cover
; if that “fixes” it, then start adding it back one bit at a time until it breaks again, then you know that’s the problem.