Are you trying to do an API call? What's your doing?
Okay, try to run this:
ipconfig /flushdns
It's in the console I think
but they said in their app, right?
Using node-appwrite for my project. So yeah it's api
yeah so the dns flushing has nothing to do with it kinda
What API? What node-appwrite version?
give us more info
what is the code you are trying to run
Yes, because the DNS servers changed and it could be that it's hitting the old IP. At lest that's how another user solved this error before π
"node-appwrite": "^14.1.0",
bash
lol
.. bash?
my bad
I read console, haahahaahahaha
try this first
In the CMD
const client = new Client()
.setEndpoint(process.env.NEXT_PUBLIC_APPWRITE_ENDPOINT!)
.setProject(process.env.NEXT_PUBLIC_APPWRITE_PROJECT!);
const session = getCookie(c, AUTH_COOKIE_NAME);
if (!session) {
return c.json({ error: "Unauthorized" }, 401);
}
client.setSession(session);
const account = new Account(client);
const user = await account.get();
yeah done, and starting up the app
It's intermittent so it's difficult so say it's resolved but somehow it's working for now
Thanks guys!
If your issue has been solved, mind adding [SOLVED] in the beginning of the title? Happy appwriting! :appwriterocket:
It's always DNS π π
@Vignesh Gupta Tell us if it happens again π:appwritepeepo:
Recommended threads
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support π I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...