Zend certified PHP/Magento developer

Checkout cart error: The requested qty is not available

I’m using Magento 2.4.4, clients reported issues with the items in the cart, and I’m able to simulate by having two carts in different clients’ accounts with the same item that has 1 item in stock.
The error message is below.

The requested qty is not available

How could I fix it?