key_scope_mismatch
gemmeinServer(sk, { expects }) compared the key's access with what the app needs before its first call, and the key has less or more.
Status: thrown by the SDK in your app (no HTTP status) · Client-side
What happened
gemmeinServer(sk, { expects }) compared the key's access with what the app needs before its first call, and the key has less or more. A key too broad is refused like a key too narrow. err.missing and err.extra say what, one plain sentence each ("this key cannot write mentor, which the app needs").
What to do
Make a key with exactly that access (npx gemmein keys create) and swap it in. Revoke the old one.
Read more
Was this page helpful?
Thanks for telling us.
Thanks for telling us.
Last updated