I’m attempting to run a pretty straightforward migration script to update a validations field for a Content Type. However, when I run the migration I get the following error:
Error: {"status":"Unprocessable Entity","message":"Validation error","details":{"errors":[{"name":"validationDefined","details":"Array fields do not support \"linkContentType\" validations","value".....
as well as:
Error: {"status":"Conflict","message":"","details":{},"url":"https://api.contentful.com:443/spaces/(redacted space id)/content_types/campaign/published"}
I was following the validation instructions from this document.
I did end up adding that validation manually. Previously the linkContentType only allowed quizBeta. My migration script was attempting to update that validation to include quiz as well.
Please not that this replaces the whole items object, so you need to state properties like type again. This is less than optimal, but should unblock you for now.