When doing a PATCH request on an entry it fails on Assets and Entry fields with a max of 1.
It looks like the output of the merge data is just a string and not in the format expected by the API/Validation.
E.g. this response on a PATCH with empty body.
{
"message": "The Author field must be an array. (and 3 more errors)",
"errors": {
"author": [
"The Author field must be an array.",
"The Author field must not have more than 1 items."
],
"asset": [
"The Asset field must be an array.",
"The Asset field must not have more than 1 items."
]
}
}
When doing a PATCH request on an entry it fails on Assets and Entry fields with a max of 1. It looks like the output of the merge data is just a string and not in the format expected by the API/Validation.
E.g. this response on a PATCH with empty body.
Blueprint used in this test: