I have deployed a new GraphQL private API to my aws console. While I am trying to run the query from aws console, I am getting below error
Cannot read properties of undefined (reading 'data')
Here is my query:
query MyQuery {
listData(limit: 10) {
nextToken
}
}