Duolith docs

Errors E0400 to E0499

E0426 Scanner failed

Message The scanner failed

Why

The scanner started but stopped before reading a code: the camera was taken by another app, Google Play services could not start ML Kit's scanner on Android, or the browser's detector failed. A scan started while the scanner is already open on iOS fails with this code too.

How to fix it

Let the user try again. On Android, the code scanner needs Google Play services and downloads its model the first time.

In a terminal

duolith explain E0426