RuntimeError Occurring with Multiple Active Automatic Discounts

RuntimeError Occurring with Multiple Active Automatic Discounts

jun-yang
Shopify Partner
4 0 2

We have observed that our app users using automatic order discounts are encountering RuntimeError.

Shops experiencing this issue tend to have multiple active automatic discounts, while those with only 2-3 active discounts seem unaffected.

This problem became common today, and we don't deploy any new version function.

The function-runner metrics are also within the expected range.

 

Could this be caused by a new system limitation?

 

junyang_0-1726831083267.png

junyang_0-1726832003931.png

 

Update:
I think Shopify has already fixed the bug.

 

 

Replies 8 (8)

adam_cvikota
Shopify Partner
64 0 5

Hello,

I have the same issue from last day. I do not know how to simulate it on my dev store and lot of merchants wrote me about it.

Do you know what can be problem?

jun-yang
Shopify Partner
4 0 2

I also used the function-runner to test it, and all the metricswere within limits

junyang_0-1726832265305.png

I have no idea how to solve this problem

adam_cvikota
Shopify Partner
64 0 5

I tried also to recreate shopify functions in the newest shopify CLI, but it did not help too. Also wrote to shopify support about it, but with no answer until now. Do you think problem can be on shopify side?

jun-yang
Shopify Partner
4 0 2

Yes, I think this problem can be on shopify side
Because we didn't make any changes to the function code

adam_cvikota
Shopify Partner
64 0 5

Hello,

for more of my stores with problem its fixed now (but not for all).

I think shopify is fixing it step by step finally.

jun-yang
Shopify Partner
4 0 2

Oh!
thank you

There are no error logs in the dashboard.

Nick_Wesselman
Shopify Staff
171 43 70

We have seen an increase in erroneous RuntimeError failures in the last ~24hr, with an unknown exception error message. We’ve confirmed that they are unrelated to the Shopify CLI performance update. These errors should be mitigated at this point.

Nick Wesselman | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

topshop
Shopify Partner
153 14 17

We saw some RuntimeErrors today with one merchant. No changes to the function for more than a week. Any other apps facing this still?

topshop_0-1727115473473.png

 

Founder, Discount Bot: Sitewide Sales
- Exclude hand-pick products/collections or on-sale items from discounts: Read the guide
- Increase AOV using multi-tier volume discounts
- Bulk coupon codes - for discount promotion