Duolith docs

Errors E0200 to E0299

E0223 Permission not given

Message permission is off: permission was not given

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The user refused the permission, now or earlier, or the browser blocks it for this site. Asking again does nothing once the system has an answer: the user must change it in the system or browser settings.

How to fix it

Explain why the app needs it before asking (permissions.request(name, { reason })), and offer a way on when it is refused.

In a terminal

duolith explain E0223

Mentioned in