You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to update an existing contentType programmatically using the contentful-management SDK, but when there are conflicts of some sort, we don't get any meaningful error messages. The response would often be a 409 - Conflict - and then the JSON tried to process
What we would expect is some kind of detailed explanation of the error, so we can resolve it. We believe this is a quite important feature, because when migrating contentTypes, if anything fails we have to delete all content to start over, which isn't an option when we go live.
In an attempt to figure out the error I deleted the contentType from the web interface and tried to deploy again, and here it gave a meaningful error: 422 - Unprocessable Entity - Field "X" mapped multiple times in "editorLayout"
We are trying to update an existing contentType programmatically using the
contentful-management
SDK, but when there are conflicts of some sort, we don't get any meaningful error messages. The response would often be a409 - Conflict - and then the JSON tried to process
What we would expect is some kind of detailed explanation of the error, so we can resolve it. We believe this is a quite important feature, because when migrating contentTypes, if anything fails we have to delete all content to start over, which isn't an option when we go live.
In an attempt to figure out the error I deleted the contentType from the web interface and tried to deploy again, and here it gave a meaningful error:
422 - Unprocessable Entity - Field "X" mapped multiple times in "editorLayout"
We are using
"contentful-management": "^11.25.0"
The text was updated successfully, but these errors were encountered: