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.

Cannot query 'Catalogs' on Unstable GraphQL Admin API

Cannot query 'Catalogs' on Unstable GraphQL Admin API

ResultcodeNL
Shopify Partner
1 0 0

Hello,

 

I'm having trouble querying the Catalogs in a shop. The shop has many Markets set up, that I can query successfully. When I execute the query listed in step 1 of 'Getting started with Catalogs' (https://shopify.dev/docs/apps/markets/catalogs/getting-started#step-1-query-the-market-catalog), I get the following error:

"Field 'catalogs' doesn't exist on type 'QueryRoot'"

How can I resolve this?


The same happens when I try to query the Catalogs field inside a Market, it indicates that the field is not there. Testing it in the GraphQL Admin API Explorer, querying the 'catalogs' works on both 2023-04 (Relase Candidate) and Unstable.

 

That last part is strange; it does work in the GraphQL Admin API Explorer for the Unstable version, but not in my node client.

Resultcode.nl - Dutch Shopify Experts
Replies 0 (0)