Adding twice the same product to cart, it behaves like two separate products

I have a function that adds to the cart using ajax API, when I added the same product twice, it counts like two different products instead of changing the quantity.

The cart looks like this:

See, two equal variant_id, but counting as 2 different products

Hello,

Does it have differents differents prices, properties or sellings plans ?

See https://shopify.dev/docs/api/ajax/reference/cart#response

No, both have precisely the same payload

Would you mind sharing the store URL?