Version: AMS 6.5.16
Hi,
I am trying to access newly created Graphql over the dispatcher, when i try to access the same url publish i see the same results but not in dispatcher
I followed below steps to create and publish with Graphql
author/graphql/execute.json/myproject/test2
publish/graphql/execute.json/myproject/test2
When i copied the URL and paste it in new tab it is showing the data in both author and publish but not able to access over the dispacther.
( I am getting 404 error)
Can someone explain what are the steps i need to perform here to access over the dispatcher?
FYI - I am not using any authentication for now, just want to access the JSON structure from dispatcher
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @ramaem12
It appears that the GraphQL endpoint is blocked on the dispatcher.
Please check the filter section to assure that its allowed. Example:
# GraphQL Persisted Queries & preflight requests
/0061 { /type "allow" /method '(GET|POST|OPTIONS)' /url "/graphql/execute.json*" }
Also, please review if you would want to avoid caching of the GraphQL queries.
you mostly can access the dispatcher through API call's using the endpoints just try using the postman might work
Hello @ramaem12
It appears that the GraphQL endpoint is blocked on the dispatcher.
Please check the filter section to assure that its allowed. Example:
# GraphQL Persisted Queries & preflight requests
/0061 { /type "allow" /method '(GET|POST|OPTIONS)' /url "/graphql/execute.json*" }
Also, please review if you would want to avoid caching of the GraphQL queries.
Hi @ramaem12
As mentioned by aanchal, this is the only reason I also faced in my project. You need to allow in filter section at dispatcher level and It will resolve your issue.