Hi need help with graphQuery.
have article.json file with
{
"Sidebar": {
"body1": {
"type": "Slices",
"fieldset": "Slice zone",
"config": {
"choices": {
"integration": {
"type": "Slice",
"fieldset": "Integration",
"description": "Integration info",
"icon": "computer",
"display": "list",
"non-repeat": {
"integration_id": {
"type": "Number",
"config": {
"label": "Integration ID",
"placeholder": "123"
}
}
},
"repeat": {}
}
}
}
}
}
}
and build graphQuery in gatsby-config.js
graphQuery: `
{
article {
body1 {
slices {
...on integration {
integrationFields
primary {
integration_id
}
}
}
}
}
}
`
and get an error - Error: Unable to parse fetch query Invalid fetch parsing Exception.
The field body1 must be a content relationship or a group.