Graphql Endpoint got this "details": "Cannot invoke \"Object.getClass()\" because \"value\" is null" error
I have created a GraphQL endpoint on the author instance, and it works fine there. I’ve also published the GraphQL endpoint and the content fragment to the AEM publish instance. But when I try to access the GraphQL endpoint on the publish instance, I see the following errors. I already confirm that the endpoint is already published
AEM Version - AEM CLOUD
{
"errors": [
{
"errorType": "ServletError",
"message": "Internal Servlet Failure",
"details": "Cannot invoke \"Object.getClass()\" because \"value\" is null"
}
]
}
This is the error.
Is there a clue where I need to check this ?