I'm getting this error: Error signing up: AppwriteException: Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used. in my app.
I have tried updating my .env file and Appwrite configuration file but it's not working.
Here's my appwrite configuration file:
import {
Client as ServerClient,
Databases as ServerDatabases,
Storage as ServerStorage,
} from "node-appwrite";
const client = new Client()
.setEndpoint("https://fra.cloud.appwrite.io/v1")
.setProject(process.env.APPWRITE_PROJECT_ID as string);
export const account = new Account(client);
export const databases = new Databases(client);
export const storage = new Storage(client);
export const functions = new Functions(client);
export { OAuthProvider };
const serverClient = new ServerClient()
.setEndpoint("https://fra.cloud.appwrite.io/v1")
.setProject(process.env.APPWRITE_PROJECT_ID as string)
.setKey(process.env.APPWRITE_API_KEY as string);
export const serverDatabases = new ServerDatabases(serverClient);
export const serverStorage = new ServerStorage(serverClient);
Would appreaciate any insights.
Recommended threads
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...