For some stores, there is an error when calling GraphQL productCreate api.
The response to the api call is as follows.
{“data”:{“productCreate”:null},“errors”:[{“message”:“Daily variant creation limit reached. Please try again later. See https://help.shopify.com/api/getting-started/api-call-limit for more information about rate limits and how to avoid them.”,“locations”:[{“line”:1,“column”:78}],“path”:[“productCreate”],“extensions”:{“code”:“VARIANT_THROTTLE_EXCEEDED”}}],“extensions”:{“cost”:{“requestedQueryCost”:72,“actualQueryCost”:10,“throttleStatus”:{“maximumAvailable”:1000.0,“currentlyAvailable”:990,“restoreRate”:50.0}}}}
Originally it was working fine, but the problem has been occurring since yesterday.
Looking at the response, actualQueryCost is 10 and maximumAvailable is 1000, but a VARIANT_THROTTLE_EXCEEDED error occurs.
We are also facing this issue after passing the 50k variant limit on Shopify Advanced. We’re creating maybe 200-250 variants, then we’re met with the API Error:
VARIANT_THROTTLE_EXCEEDED
I’ve double checked our logs to make sure and can confirm that in a 24hr period, we’re way under the 1k/daily created variant limit.
Only thing I can think of is that the GraphQL api is miscounting the number of requests by including the number of GET requests (GQL Queries) accidentally.
We had submitted a ticket about this last night but haven’t heard back yet - hoping for a resolution soon as we have products with missing sizes now.
Update: We haven’t had any success going through the Shopify support email channel. It seems that this variant throttle is being affected by both updating AND creating variants. We log all API calls to Shopify for metrics and when we add up the updates and creates together, we see we hit the 1k mark, in which we start to get errors back from Shopify.
This doesn’t appear to be documented correctly if this is the case, as the error described should stem only from variant creations.
I suppose the next steps for us is to upgrade to Shopify+ since the store we’re working in deals with a lot of variant updates (price and inventory) and variant creations (new sizes coming in, for example).