Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashed CMS Preview API: #4434

Open
alissonpalmeira opened this issue Dec 7, 2024 · 0 comments
Open

Crashed CMS Preview API: #4434

alissonpalmeira opened this issue Dec 7, 2024 · 0 comments
Labels

Comments

@alissonpalmeira
Copy link

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"
}
}
}

image

Additional information

I exported the model and imported it into another Webiny instance, but the issue persisted.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant