E0431 Permission not declared
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A phone can ask only for a permission its app declares. iOS stops an app that asks without the Info.plist usage description the permission needs (and never answers a location request without one), and Android answers "unavailable" for a permission its manifest does not list. The build writes those declarations for the effects the app imports (the recorder declares the microphone, location the location) and for each reason in the app's permissions.yaml, so a permissions.request whose name the page's text gives, as text or in a const, is checked when the app is built: the name must be one of the permissions, and declared one of those two ways. On a phone, a request whose description is missing anyway answers "unavailable" instead of asking (decision 0102).
How to fix it
Import the effect that uses the permission, such as recorder for the microphone, or give the permission a reason in permissions.yaml at the project's root, such as contacts: To find your friends who use the app. A reason both declares the permission and is the sentence the system shows when it asks.
In a terminal
duolith explain E0431