A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
There have been various strange issues with GraphQL queries for products/variants lately. One was fixed today as we experienced it for our app but there is another one we are experiencing that has not been resolved yet. (Results returned for one specific query but none for the other query. Both are for product but I encountered it for productVariant as well). So strange stuff for sure.
Returns a result:
product(id: $id) { title featuredImage { url }
Does not return a result:
product(id: $id) { title featuredImage { url } variants (first: 25) {
---
Of course, the product exists as the first query returns a result and the second one does not.
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
Please disregard this, found the cause of the issue. Thank you.