
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
- Self hosted cant login when behind rever...
Hello, I have setup appwrite behind nginx proxy manager, with the help of this link I found in the forum: https://medium.com/@stnguyen90/how-to-run-appwrite-be...
- Appwrite Fra Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
