Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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

JoesIdeas
Shopify Partner
2462 227 666

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 [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 527

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