Today, without any changes on our part, Appwrite Auth stopped working completely. We cannot Register, nor Login.
Errors:
{
"message": "There was an error processing your request. Please check the inputs and try again.",
"code": 400,
"type": "general_bad_request",
"version": "0.13.5"
}
{
"message": "User (role: guests) missing scope (account)",
"code": 401,
"type": "general_unauthorized_scope",
"version": "0.13.5"
}
Specs:
- "@refinedev/appwrite": "^6.4.6"
- "node-appwrite": "^11.1.1"
FYI, it's best to use 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting).
what API calls were made that resulted in these errors?
we are using the Refine wrappers
we are doing this
await account.createEmailSession(email, password);
and this
account.createOAuth2Session("google", getBaseURL());
await account.create(uuidv4(), email, password);
account.createOAuth2Session("google", getBaseURL());
await account.create(uuidv4(), email, password);
It does not make sense to do something like this...
also the methods you mentioned shouldn't result in:
{
"message": "User (role: guests) missing scope (account)",
"code": 401,
"type": "general_unauthorized_scope",
"version": "0.13.5"
}
To clarify: these are snippets of code that I extracted from our codebase, this is NOT the full code
What you're sharing doesn't match up so please share the matching code and response
Recommended threads
- Export issue
I just hit my free appwrite limit (500k reads) I'm willing to switch to local db but I can't export the db data from console. I'm getting: 402 Database reads l...
- hey i reallly wanted to know can i make ...
hey i reallly wanted to know can i make a tree database like parent child thing or is it only tables
- Am getting "The current user has been bl...
project id: 68d2c33a003ad875f0a5 i'm not able to login the appwrite console.