GraphQL persisted queries in Publish enviroment | Community
Skip to main content
New Participant
August 7, 2025
Solved

GraphQL persisted queries in Publish enviroment

Hi Team,

 

Created new GraphQL Persistence query and while accessing in publish it is giving the below error. Is there any permissions missing in publish? 

 

{"errors":[{"errorType":"PersistenceError","message":"Could not find Persisted Query","details":"Configuration: 'project123' and Query Name: 'productdata' does not resolve to an existing Persistent Query"}]}

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
New Participant
August 7, 2025

Hi @vgkrish,

Could you verify if the persisted query is published?

Go to CRXDE and check if replicated: /conf/project123/settings/graphql/persistentQueries/productdata 

Also, Verify that the GraphQL endpoint is accessible on Publish - Make sure you're using the correct endpoint on the Publish instance:

https://<publish-domain>/graphql/execute.json/project123/productdata

If you're using GraphQL via a frontend app, confirm that the endpoint points to the Publish instance and not to Author by mistake.


At last, 
Check permissions on the Publish instance

If you are using a service user or ACLs to access GraphQL endpoints:

  • Ensure the correct service user has read access to:

    • /conf/project123/settings/graphql/persistentQueries

    • And any associated content paths used by the query

Santosh Sai

2 replies

SantoshSai
SantoshSaiAccepted solution
New Participant
August 7, 2025

Hi @vgkrish,

Could you verify if the persisted query is published?

Go to CRXDE and check if replicated: /conf/project123/settings/graphql/persistentQueries/productdata 

Also, Verify that the GraphQL endpoint is accessible on Publish - Make sure you're using the correct endpoint on the Publish instance:

https://<publish-domain>/graphql/execute.json/project123/productdata

If you're using GraphQL via a frontend app, confirm that the endpoint points to the Publish instance and not to Author by mistake.


At last, 
Check permissions on the Publish instance

If you are using a service user or ACLs to access GraphQL endpoints:

  • Ensure the correct service user has read access to:

    • /conf/project123/settings/graphql/persistentQueries

    • And any associated content paths used by the query

Translate
Santosh Sai