Instruction Count Limit Exceeded Error every 3hrs

Hi,

I am getting InstructionCountLimitExceededError on my discount function every three hours. And on looking at the logs I see somebody is creating a cart with large number of SKUs. I dont see it in my abandoned cart report or anything. And for sure I dont have customers who place such high orders. Please help me figure out how to debug this further?

Are you using JavaScript or Rust? Shopify strongly recommends Rust as the most performant language choice to prevent your function from failing with large carts

I am using Javascript but typically we doesnt have large carts… this is someone or something adding unusually large number of SKUs every 3hrs.

Ok, Could you please add the BuyerIdentity field in the input query to gather customer information? After that, we can review the issue

Got it, so once I have buyer Identity, can I block them via email? Is there another way to find these users? They dont appear in my abandoned cart report as well.

Understood. Do you notice any specific pattern in the email addresses of those users?