GraphQL productCreate API and VARIANT_THROTTLE_EXCEEDED

TedKim
New Member
5 0 0

Hi,

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.

https://shopify.dev/api/usage/rate-limits

I've read the above page but couldn't figure out the cause of the problem.

What's causing the problem?

Where should I check more?

 

Replies 2 (2)
PaulNewton
Shopify Partner
4211 303 901

Does the store have more than 50,000 products , and is not on a Shopify Plus Enterprise plan?

Then it now has a daily limit

The following Admin API resources, in both GraphQL and REST versions, have an additional throttle that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than 1,000 new variants can be created per day.

https://shopify.dev/api/usage/rate-limits#:~:text=The%20following%20Admin%20API%20resources%2C%20in%... 


 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
TedKim
New Member
5 0 0

Thank you for your reply.

As you said, having over 50000 product variants seems to be one cause of the problem.

But the real problem is, I can't register even one product right now (not 1000 per day).

I have contacted Shopify Partner Support and am waiting for a response.