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
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- Failed to create function
Hey everyone 👋 I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...