Raai!Original post
Web Developer
I am following along with the tutorial on Next.js SSR from the docs and faced the error any help would be much appreciated.
versions i am using
Next.js: 14.1.3
node-appwrite:12.0.0
i did not change any code (copied as it is from the docs)
my .env file is setups like this:
NEXT_APPWRITE_KEY=apikey
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT=projectid
Summary
Developers are encountering an auth issue while following the Next.js SSR tutorial. Versions being used: Next.js 14.1.3 and node-appwrite 12.0.0. The issue seems to stem from the environment setup with Appwrite keys and endpoints. Double-check the .env file setup and ensure the values are correct.