General Error Handling

Recommended errorhandling procedures for different use cases to ensure seamless user experiences.

Product Recognition

  • If the system responds with anything except 200 OK:
    • Default to a lookup menu.
    • Do not show the error to the customer.
    • Notify staff or the customer's notification system.
  • If the system is used only for product recognition:
    • Result types include:
      • recognized
      • recognized_barcoded_product
      • no_known_product
      • obstructed
      • background
    • If the result type is anything except recognized:
      • Default to the lookup menu.

Fraud Prevention

If the system responds with anything except 200 OK:

  • Treat as not fraud or not loss.
  • Do not show the error to the customer.
  • Notify staff or the customer's notification system.

Bag Tare

If the system responds with anything except 200 OK:

  • Display a bag tare option.
  • Allow the customer or cashier to select the appropriate bag tare value.
  • Notify staff or the customer's notification system.

Notifications

All errors should be:

  • Internally tracked.
  • Reported to the appropriate staff or notification systems.