Error retrieving the current cart - Wix Stores

Hey Velo Community!

I am trying to use wix velo to retrieve the current cart, however, I keep getting this error when the code runs:
Error:

Code:

This error is new to me as I never seen it before, and it did not show this error before… anyone could give me a hand please?

Thanks!
-Wong

The cart is not created (like the user haven’t do ANY action about cart, so no cart no items)

oh I see, is there anyway to create a cart with no items for the user?

No, just treat it as “cart items length” = 0

@certified-code ahh I see. Thanks for clarifying!! :smiley: