POS Internal error when adding out-of-stock line items

I’m using the cart API to add line items to the POS cart, but if the product I add is out of stock this leads to an internal error. This is likely being caused by a popup asking you whether you indeed want to add an out-of-stock product to the cart, but this breaks some underlying code that assumes that the item was already added to the cart (assuming this is the uuid resolving mechanism)

This is happening on 2024.07

See screenshot below

Hey @Tim :waving_hand: - that is a bit strange for sure, thanks for flagging this. Would you be able to replicate that issue and share some logs with us? For the POS app itself, it’s a little trickier to troubleshoot since the logs are hosted locally, but just sharing some steps here on how to generate the logs on your end:

  1. In the POS App Tap = / More located on the bottom right of the screen
  2. Tap Support > Report a bug
  3. In the input box that pops up, can you just copy and paste this thread URL and my name “Alan G”?
  4. Tap Send

This should send the logs our way and I can do some further troubleshooting on this for you. Just ping me here once you’ve sent those our way and I’ll take a look

Hi @Alan_G, I’ve sent the logs your way!

1 Like