Error uploading an image: One or more properties did not pass validation

Hi,

I have upgraded from v12 to v17.1.0 and am now unable to upload images directly via page fields. This is the error I am seeing.

I am able to upload images/files directly to the Media section without problems. The field itself is limited to just images and I have tried to upload both PNG and JPG with no success. The field uses the Media Picker datatype:

I am able to select existing images from the media library just fine, so suspect it is not to do with the field itself. I have tried many other image fields in the system and can see the same issue.

No errors are logged (nothing in Log viewer or the umbraco Log file). All I have to go on is the errors in the console which are not descriptive.

I’m wondering, if you:

Go to Settings > Media Types

Open Image

Is there any property marked “Mandatory”?

I would also check the file path where the images are stored from a successful one uploaded too.

Hi @EssCee

Thanks for the reply, that’s exactly what this was :slight_smile: (a mandatory field)

For ref, I also posted it on the GitHub here: Error uploading an image: One or more properties did not pass validation · Issue #21492 · umbraco/Umbraco-CMS · GitHub .

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.