When i make a GraphQL query to retrieve orders with a query filter on tag, it returns no results. Using the same query in the Shopify GraphQL app in the store returns results. Removing the query:"tag:Ship" from query results in orders being returned.
Issue summary
When i make a GraphQL query to retrieve orders with a query filter on tag, it returns no results. Using the same query in the Shopify GraphQL app in the store returns results. Removing the
query:"tag:Ship"
from query results in orders being returned.My code was adapted from the QR Code example app - https://shopify.dev/docs/apps/getting-started/build-app-example My code adds a new endpoint middleware to express and makes a simple graphql query -
app setup in
shopify.js
(unchanged from QR Code example app):@shopify/shopify-app-*
package and version:Node version: v18.15.0
Operating system: Ubuntu 5.10.16.3-microsoft-standard-WSL2
Expected behavior
The GraphQL query should return orders tagged with 'Ship'
Actual behavior
No results are returned
Steps to reproduce the problem
Run the query above using the GraphQL client as shown above