Duolith docs

Errors E0400 to E0499

E0421 Position not found

Message No position was found

Why

The device has location, and the user allowed it, but it could not tell where it is in time: indoors without Wi-Fi, with location services turned off in the system's settings, or a timeout shorter than a first fix takes. A watch that stops working for the same reasons ends with this code in location.failure.

How to fix it

Give location.current a longer timeout, ask with accuracy "balanced" or "low" indoors, or accept an older position with maximumAge. Tell the user when location services are off.

In a terminal

duolith explain E0421