Hi everyone,
I’m seeing inconsistent behavior with the Admin GraphQL API when querying productVariants using a collection filter, and I wanted to report it to see if others have encountered the same issue or if there’s something I might be missing.
Issue Description
When sending the exact same productVariants query multiple times, the results are inconsistent:
-
The first request returns many results as expected
-
A subsequent request (sent immediately after) returns no results
-
Changing the
firstparameter does not resolve the issue
This happens without any changes to products, collections, or permissions in between requests.
Query Used
{
productVariants(
first: 250
query: "(collection:'457565962493' OR collection:'457747562749' OR collection:'457607741693' OR collection:'457602269437' OR collection:'457607643389' OR collection:'457607676157' OR collection:'457606725885' OR collection:'457606824189' OR collection:'457602007293' OR collection:'457602040061' OR collection:'457602105597')"
) {
nodes {
id
}
}
}
Observed Behavior
-
First request
-
Returned many results -
Request ID:
ef19f4d0-6214-4c23-8b8b-9638ed7764f8-1767780377
-
-
Second request (same query, sent immediately after)
-
Returned no results -
Request ID:
546fdfb1-d825-4651-86f6-56965b66f6f9-1767780334
-
-
After changing
firstfrom 250 to 10{ productVariants( first: 10 query: "(collection:'457565962493' OR collection:'457747562749' OR collection:'457607741693' OR collection:'457602269437' OR collection:'457607643389' OR collection:'457607676157' OR collection:'457606725885' OR collection:'457606824189' OR collection:'457602007293' OR collection:'457602040061' OR collection:'457602105597')" ) { nodes { id } } }-
Still returned no results -
Request ID:
fced003d-6f92-494b-84c3-0aa6f03d18c7-1767780445
-
Expected Behavior
The same query should consistently return the same set of product variants, assuming no underlying data changes.
Additional Notes
-
No rate limiting errors were returned
-
The app has full read access to products and collections
-
Are there any known limitations or best practices when using multiple
collectionfilters withproductVariants?
Thanks in advance for any insights ![]()


