pageballoon / headstart

Decoupled GraphQL-driven content management using OctoberCMS
https://octobercms.com/plugin/nocio-headstart
MIT License
7 stars 2 forks source link

New istallation got Error #11

Closed dev-dx closed 4 years ago

dev-dx commented 4 years ago

Hi,

I just installed the plugin, and tried to test the API by adding a user schema from the template on github. When I do an API test, I get the following error response:

"errors": [ { "debugMessage": "Undefined index: SystemFile", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 7 } ], "path": [ "__schema", "types" ], I have no idea, Is there something wrong with the configuration that I made?

frthjf commented 4 years ago

Hi @dev-dx,

The error message indicates that the GraphQL SystemFile is undefined that used by the user type here. The SystemFile Type is defined in the core_cms so if you install that template as well the error should go away.

However, I can see that this is confusing for new users, so I'll comment it out in the template so that it will work out of the box in future.

Thanks for reporting. Let me know if you encounter any other issue.