What are you doing that results in this?
i trying to call the account.get() function
How did you initialize the client?
yes, when i used the https://cloud.appwrite.io/v1
endpoint it works perfectly but when i used http://appwrite.shinobi.com:3000/
it gets that error
Right...because you need the v1. What happens when you have the v1?
the same thing I guess it happening because the custom domain isn't verified
appwrite is still providing this endpoint
The custom domain won't verify if your domain isn't publicly accessible. It doesn't matter, though.
That will show whatever you're accessing appwrite on
ok
hey again, I managed to get a custom domain and changed the API endpoint so most of the errors went away but I'm still running into this error evertime I'm run account.get()
Wait I think its because I'm trying to access the appwrite API through localhost
right. it's probably a 3rd party cookie problem. either enable 3rd party cookies in your browser settings or set up a fake domain by editing your hosts file
after 2 days i finally got it to work🥳
thanks a lot for your advice and patience @Steven @kathelia.dokgu
No problem! What did you do?
after I set the custom domain I ran into two errors:
- Running the client SDK on the SSR pages
- I forgot to update the Google API console with the new Appwrite endpoints
After I did that it was just copying code from the almostSSR repo(which most of it I don't understand but it worked lol)
I'm going to write an article about this process in a few days
In the latest next 13 update it now supports HTTPS in development which should be helpful in testing auth locally
update: it doesn't work if you change the hostname. The browser won't accept it for some reason
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...