Not able to execute graphql query on prismic repository using ruby

I want you to execute graphql query on Prismic repository with ruby code.

I have followed https://prismic.io/docs/technologies/integrate-prismic-with-an-existing-project-ruby article by which I was able to query the API, but not graphql query.

I have also tried to use graphql-client ruby gem, but that too doesn't help and throwing responding with error {"errors"=>[{"message"=>"404 Not Found"}]}

Can anyone help how can execute graphql query on prismic repository?

Hey, welcome to the community!

Are you still having issues with this?
We don't yet have a dedicated example of using Ruby with the GraphQL API but, you could do is share your entire configuration and query docs with me so that I could try and see if there's anything missing

This issue has been closed due to inactivity. Flag to reopen.