
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
- Internal 500 Server Error
I don't have much information but I am unable to create anything on database, Auth users are creating but not able to fetch into database
- CORS + 401 Error with Appwrite Authentic...
I'm getting a CORS + 401 Error with Appwrite Authentication Access to fetch at 'https://cloud.appwrite.io/v1/account/sessions/email' from origin 'https://my-c...
- CLI login on self hosted with docker
Hi, I have a working docker setup with traefik in front of the services. Everything works as expected except for login with CLI. I've tried with `appwrite cli...
