have a way to authenticate using rest api > https://appwrite.io/docs/client/account#accountCreateEmailSession ?
{ "message": "app.64fxxxxxxxxxxx@service.cloud.appwrite.io (role: applications) missing scope (account)", "code": 401, "type": "general_unauthorized_scope", "version": "0.11.4" }
Have you tried hostname/v1/account/sessions/email?
yep
Are you using cloud?
yep
Hmm...Let me have a quick check on my end
i'm using server to authenticate
I'm not using the client, just the rest...
Oh ok, I can't test that unfortunately
Someone more knowledgeable would be here to help shortly.
thanks π
You can't include an API key with your request
Also, it should be POST
Make sure to check out our REST docs: https://appwrite.io/docs/rest#client-auth
awesome, thanks π
is your problem solved?
yep, but i have another
but it is listing users who don't have my email in the search...
How do I filter this in a more effective way?
you can start by reading this to better understand how search works: https://github.com/appwrite/appwrite/discussions/5005#discussioncomment-4681079
If you still need help, please create a new post
[SOLVED] rest login ?
Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...