Did you ever encounter a GraphQL issue where you queried an order by its ID, but Shopify returned an empty node? Even though the order was created over 10 minutes ago, attempting to retrieve it returned nothing.
This issue occurs only with some orders, as most return a successful response.
Here is an example of a query that works randomly.
<<<QUERY
query {
order(id: "gid://shopify/Order/{ID}") {
name
}
}
QUERY
When you query using a specific order ID, and the query returns empty, is it always returning empty or it is delayed in returning the expected order details? Are you also processing a high number of orders?