
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
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
