
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
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
