I would like to use GraphQL to query elements in the playground (By the way: is there any documentation how to authorize with GraphQL). If I use an API key in the playground, I only get an “Internal Server Error” with Singleton and Tree. Collections work fine.
If I omit the API key then I get empty objects back.
My JSON:
{
SeitenModel {
_id
_created
_modified
Menuetitle
Seitentitel
Permalink
Keywords
}
}
I get:
{
"errors": [
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 6,
"column": 2
}
],
"path": [
"SeitenModel",
0,
"Menuetitle"
]
},
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 6,
"column": 2
}
],
"path": [
"SeitenModel",
1,
"Menuetitle"
]
},
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 6,
"column": 2
}
],
"path": [
"SeitenModel",
2,
"Menuetitle"
]
},
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 6,
"column": 2
}
],
"path": [
"SeitenModel",
3,
"Menuetitle"
]
},
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 6,
"column": 2
}
],
"path": [
"SeitenModel",
4,
"Menuetitle"
]
}
],
"data": {
"SeitenModel": [
null,
null,
null,
null,
null
]
}
}