X_BEARER_MOUNT_INVALID
Means
a bearer mount declaration cannot be served as written
Typical cause
defineApi({ http: { mounts } }) named a primitive nothing registered, or a prefix that would shadow a framework namespace
Fix
fix the mount named in the cause: a prefix like '/v1' (not /api or /_x), and a scopes map naming only registered actions and queries — x routes --json lists them