Any idea why this is happening?
I did what's in this : https://appwrite.io/docs/client/account?sdk=rest-default
userId, email and password sent, I get 401
You're using REST to make the API request?
yes
actually found the other documentation from the 1.3 instead of cloud
but I'm not sure what the hostname is
Have you added the x-appwrite-project header to the request?
Why don't you use the Appwrite web client?
i am using that, but I cannot get the schemas in some cases and on the sdk doesn't work well for the expo
Ohh, Got you. This is in ReactNative project
yhh
but got it
thanks π
So, it works now?
yup
<a:agooglethumbsup:635256484682530825>
Thanks!
[Solved] Cannot access REST API "Request failed with status code 401"
Recommended threads
- Error connecting to my GitHub repository
Nothing happens when I try to connect my GitHub repository, but when I try from βCreate site,β I get a 500 error.
- Use Limits
I need urgent help, i use appwrite as a chat function for my website and my mobile android application, but recently, for the past 3 months, my database reaches...
- OIDC not working on Appwrite cloud
tl;dr: same project settings, same OIDC credentials. Auth works on self hosted but not in cloud. I have a project in my self hosted instance with a single web ...