New Shopify Certification now available: Liquid Storefronts for Theme Developers

Can't dump graphql schema, rake task no longer exists (shopify_api:graphql:dump)

JoesIdeas
Shopify Expert
2039 184 538

I'm updating the Shopify API version, and as usually ran this:

rake shopify_api:graphql:dump SHOP_DOMAIN="your-dev-shop.myshopify.com" ACCESS_TOKEN="shops access token," API_VERSION=api-version

 

But then got an error "Don't know how to build task 'shopify_api:graphql:dump'"

 

I ran "rake --tasks" and see that rake task is no longer available. It seems like it got removed after updating shopify_api or shopify_app gem at some point.

 

Does anyone know how to get that rake task back?

 

- shopify_api gem version installed: 12.3.0

- shopify_app gem version installed: 21.3.1

- documentation reference: https://github.com/Shopify/shopify-api-ruby/blob/v9/docs/graphql.md#dump-the-schema

Thanks

 

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks
Reply 1 (1)
ShopifyDevSup
Shopify Staff
Shopify Staff
1203 190 420

Hi @JoesIdeas 👋

Issues with the shopify-api-ruby library can be submitted directly to the public repo here

 

Hope that helps!


 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog