Hi everyone! 👋 I’m a junior developer working on a login flow using Appwrite’s Python SDK with FastAPI.
After successfully creating a user session, I tried sending the user an MFA challenge using the create_mfa_challenge route but I’m greeted with this error:
{"detail": "Invalid credentials: app.66def3e30023dc74cc00@service.cloud.appwrite.io (role: applications) missing scope (account)"}
I can confirm my API key has been granted access to all the scopes.
I also attempted to initialize a new account instance using client.set_jwt with the session["secret"] as JWT. However, when I try calling methods I run into the following error:
{"detail": "Invalid credentials: Failed to verify JWT. Invalid token: Incomplete segments"}
I suspect I may have set something up incorrectly or misunderstood how session handling works in Appwrite. I’d appreciate it if someone could point me in the right direction. Please bear with me if I’ve made any rookie mistakes—still learning! 😊
Recommended threads
- Create Oauth session is not working
- Appwrite console Oauth providers issue
Hi, I think I found an issue with the oauth providers tab on the console. If I set up a provider and I turn it on, after about a day it automatically disables i...
- Realtime Connection Error After Updating...
I get the following error message now when the realtime subscription picks up a new message. There's more to the error but it makes the discord message too long...