{
"status": "Unprocessable Entity",
"message": "Validation error",
"details": {
"errors": [
{
"name": "invalid",
"details": "The property \"regexp\" is not valid",
"path": [
"fields",
10,
"validations",
0,
"regexp"
],
"value": {
"pattern": "^(?!hello\\s)world$",
"flags": "i"
}
}
]
}
}
version:
4.19.1Adding a validation with a
regexpthat contains a negative lookahead appears to cause an error during migration, but adding the same pattern directly in Contentful UI works perfectly fine.