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 ?
Topics help categorize Community content and increase your ability to discover relevant content.
Moving to AEM community for review.
Hi @Fendy_ ,
As a General precaution, try
Hi @Fendy_
Verify all the references in content fragment model and publish all CF models and authored fragments.
As you already mentioned endpoint is published, please verify if endpoint is accessible in publish instance.
Hope this helps
Hi,
Chances are a Content Fragment Model is missing on the Publisher, which is why it’s returning null—it just can’t find the object. Make sure all the necessary models and their references are published. You can double-check this using the Repository Browser. https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Hope this helps
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies