Debugging failed inventory management