-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Description
Version
5.41.3
Operating System
Ubuntu 22.04
Browser
Chrome
What are the steps to reproduce this bug?
After creating a 'Single Entry Model' through either the API Playground or code, the CMS Preview API crashes, while the CMS Read API continues to function correctly.
What is the expected behavior?
{
"data": {
"listContentModels": {
"data": [
{
"name": "Contact",
"modelId": "contact"
}
},
"extensions": {
"console": []
}
}
What do you see instead?
{
"error": {
"message": "Cannot destructure property 'createTypeField' of 'n[r]' as it is undefined.",
"code": "INVALID_GRAPHQL_SCHEMA_LOCATIONS",
"data": {
"endpoint": "preview"
}
}
}
Additional information
I exported the model and imported it into another Webiny instance, but the issue persisted.
Possible solution
No response