If you look at the stacktrace, you will understand the root of the issue.The request is being handled by wrong servlet i.e. webdav servlet rather than the PersistedQueryServlet. This can be fixed by adding "/graphql/" to the property "Execution Paths" of the OSGi config: "Apache Sling Servlet/Script...