Inventory, barcode & IMEI

Why is the barcode scanner not working?

Short answer

Allow camera permission, clean the lens, use good light and hold the code steady. If it still fails, search or enter the barcode manually.