I have a rather complex data type for constructing landing pages.
When I save a document I get an error "Error while saving your changes - Click to retry". This seems to be the result of a backend validation error, but this is not shown anywhere in the interface:
Unable to save version:
List(JsError(List((/key/value(0)/type/data/edit/zoom,List(ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()))), (/key/value(0)/type/data/height,List(ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()))), (/key/value(0)/type/data/edit/crop/y,List(ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()))), (/key/value(0)/type/data/edit/crop/x,List(ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()))), (/key/value(0)/type/data/width,List(ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()), ValidationError(error.expected.jsnumber,WrappedArray()))))))
I suspect this is related to the images in the various fields, but I don't know for sure.
This is essentially breaking my Prismic experience as there is no way I can let our content people deal with this experience.
I noticed that I was missing dimensions on some images in the data type. I added those, but that didn't fix anything.