Cart validation extension is triggered every second and cart lines input is empty

A store triggers the cart validation function of our Shopify app every second and the input is empty. This happens on only one store that has our Shopify app installed. This is a locked store with no active customers.

The number of cart validation logs accumulated from this store alone so far is over 200,000 .
What is causing this? There is no other app installed in the store except our app.

cart validation function Input (STDIN):

{
  "cart": {
    "lines": [],
    "buyerIdentity": null
  },
  "buyerJourney": {
    "step": "CART_INTERACTION"
  }
}

Is it possible that something is constantly adding an out-of-stock item to the cart? It could be triggering a validation run with and empty input since the item would be removed.

Otherwise, we can investigate if you contact Partner Support directly (through the support tab in your partner dashboard).

1 Like

Our application does not use any cart api mechanism. We do not have a structure that automates the add to cart function. All products in the store are marked as inventory not track. And the store does not have any active customers. We will contact partner chat.

Your app might not, but maybe they some other app/scripts that does this.
So even if the store has 1 session, that’ll keep on pinging forever.

Could be some script/app trying to write to cart attributes

1 Like

Yes, you are right, but there is no app in this store except our app. There are no customers using the store and the store is locked. This may be due to the theme used in the store?. Can a theme continuously trigger a function in the background?

Are you running any sort of automated testing against the store?

We are not taking any action against the store. New logs have been coming stably for about 2 months. We also tried uninstalling and reinstalling our app.