Unknown directive inContext

Unknown directive inContext

1 0 0

Hi there,

I am trying to use the @inContext directive on my query to fetch products in a specific language. Unfortunately I get an error in Postman saying "unknown directive inContext" on the validation and  "Directive @inContext is not defined" when running the query.

See screenshot attached. What am I doing wrong?Screenshot 2022-08-24 at 08.05.40.png

Reply 1 (1)

Shopify Partner
1 0 1

Hey, I'm still trying to figure this out.

Apparently, the @inContext directive does not work with the GraphQL Admin API, only with the Storefront API.