Hi Team, getting this response when I execute a AEM servlet which internally calls graphql endpoint and will pass the response to AEM servlet.
{
"data": "{\"errors\":[{\"errorType\":\"ServletError\",\"message\":\"Internal Servlet Failure\",\"details\":\"Path: 'test/..../.../.....' does not denote a Persistent Query Path\"}]}",
"status": 500
}
any idea on this?
Thanks!!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Solution:
The issue "does not denote a Persistent Query Path" occurs when you are executing the graphql endpoint and graphql endpoint contains special characters then we will get this internal servlet failure, does not denote a Persistent Query Path.
To fix this, make sure that graphql endpoint doesn't contain special character. In my case ; was causing the issue.
Issue URL: http://localhost:4502/graphql/execute.json/myproject/namesByPath;path=/content/dam/test/......
Working URL: http://localhost:4502/graphql/execute.json/myproject/namesByPath%3Bpath=/content/dam/test/......
Difference is issue url contains ; and working url contains encoded value of semicolon i.e. %3B.
@Uppari_Ramesh did u try to execute graphic query directly? Is it working? Can you also post your servlet code, so that we can guide you better???
Hi @Shashi_Mulugu ,
When I execute the graphql endpoint directly, it's working fine. The servlet code that I'm using is working in all environments except one author instance. This is a intermittent issue. Unable to find what could be the issue.
Solution:
The issue "does not denote a Persistent Query Path" occurs when you are executing the graphql endpoint and graphql endpoint contains special characters then we will get this internal servlet failure, does not denote a Persistent Query Path.
To fix this, make sure that graphql endpoint doesn't contain special character. In my case ; was causing the issue.
Issue URL: http://localhost:4502/graphql/execute.json/myproject/namesByPath;path=/content/dam/test/......
Working URL: http://localhost:4502/graphql/execute.json/myproject/namesByPath%3Bpath=/content/dam/test/......
Difference is issue url contains ; and working url contains encoded value of semicolon i.e. %3B.
Views
Likes
Replies