I have the same problem, I correctly upload the type of image file which is JPG and I get that BadRequest, could you solve it?