I am setting up a GraphQL endpoint in AEM and can successfully run queries and view responses. However, when I click the "Save As" button and enter a "Query Name," the query is not stored as a persisted query. I encounter the following error while saving the persisted query.
12.03.2025 19:49:34.810 *WARN* [[0:0:0:0:0:0:0:1] [1742480374791] PUT /graphql/persist.json/general/getAuthirlist HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /graphql/persist.servlet is not in available search paths
Is there any config I should to create persisted query?
Views
Replies
Total Likes
Hi @Mario248
If you are able to run persisted queries in AEM GQL editor there shouldn't be any issues with saving them
Few quick things to verify -
1. Check the graphQL endpoint is configured properly
2. Check the naming convention if that creates any error
Please post a screenshot if possible -
Thanks
Views
Replies
Total Likes
I checked that graphQL is enabled and below is the only Warning I am seeing the log,
12.03.2025 19:49:34.810 *WARN* [[0:0:0:0:0:0:0:1] [1742480374791] PUT /graphql/persist.json/general/getAuthirlist HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /graphql/persist.servlet is not in available search paths
Views
Replies
Total Likes
Hi @Mario248
There seems an issue with the graphQL setup. Check the version that you're using -
Also enable debug logs for more details for below -
Check the OSGI config for below :
Below thread for more details :
Hope this helps
Thanks
Views
Replies
Total Likes
Hi @Mario248 Which release SDK you are using currently? If using "AEM SDK v2025.2.19687.20250225T164325Z-250100", the GraphQL is not working proeprly in this release SDK. Try to switch to new SDK i.e., "AEM SDK v2025.3.19823.20250304T101418Z-250200" and it should work.
Views
Replies
Total Likes
I am not using AEM SDK. I am using AEM 6.5.21
Views
Replies
Total Likes
Views
Likes
Replies