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
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.
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
The text was updated successfully, but these errors were encountered: