Adding 4 items to the cart causes a NaN error

Hi,

We have a bug whereby when a user attempts to add a fourth product to the cart it fails with the below error and causes a NaN string to be shown in the price field. The item is not added to the cart, as a browser refresh causes the item to be removed.

In the repro we added the same product each time. For the 1st, 2nd, 3rd time the items added with no issue. But it always fails on the 4th.

Please can you assist?

Thanks


Browser error:
head-export-handler-for-browser.js:72 A ‘system’ error occured in Snipcart.undefined

  1. {code: ‘snipcart_error_operation_failed’, kind: ‘system’, message: ‘snipcart_error_operation_failed’}
  2. code: “snipcart_error_operation_failed”
  3. kind: “system”
  4. message: “snipcart_error_operation_failed”
  5. [[Prototype]]: Object
1. constructor: ƒ Object()
2. hasOwnProperty: ƒ hasOwnProperty()
3. isPrototypeOf: ƒ isPrototypeOf()
4. propertyIsEnumerable: ƒ propertyIsEnumerable()
5. toLocaleString: ƒ toLocaleString()
6. toString: ƒ toString()
7. valueOf: ƒ valueOf()
8. __defineGetter__: ƒ __defineGetter__()
9. __defineSetter__: ƒ __defineSetter__()
10. __lookupGetter__: ƒ __lookupGetter__()
11. __lookupSetter__: ƒ __lookupSetter__()
12. __proto__: (...)
13. get __proto__: ƒ __proto__()
14. set __proto__: ƒ __proto__()