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
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...
- Database error validating 'min' and 'max...
I keep seeing an error when I try to add a column to a database table within the AppWrite cloud UI. I also see this error when trying to create or update a reco...
- Anyone manage to get a slack-bot working...
I'm trying to setup a bot the send and retrieve slack messages to a chat in my site. I've failed with SSE and appwrite functions soo far... i'll trying polling ...