
Can anyone help solve this issue - I am trying to setup authentication but got this error
TypeScript
Error 404
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.
Type
project_not_found
```. The issue is that I do have a project created and fully setup with ID as shown below:
`.env`
`APPWRITE_PROJECT_ID="663ff1ba000..."`
`appwrite.js`
import { Client, Account } from 'appwrite';
export const client = new Client();
client .setEndpoint(process.env.NEXT_PUBLIC_APPWRITE_ENDPOINT) .setProject(process.env.APPWRITE_PROJECT_ID);
export { ID } from 'appwrite'; export const account = new Account(client);
TypeScript
also see attached image. Like, I am logged in the Appwrite's console now with the project opened - I don't understand why it's `not found` if it exists. Can you help?
TL;DR
Issue: Developer encountering "Project not found" error while setting up authentication despite having a project created and properly configured.
Solution: The error may be due to incorrect configuration of the project ID in the X-Appwrite-Project header. Ensure that the project ID matches the one in the `.env` file. Double-check the endpoint and project ID in the appwrite.js file for accuracy.Recommended threads
- Table ID’s
Why are my table names showing without table ID’s??
- account.get imageUrl
We dont get imageUrl of users when do account.get(), i need to manually fetch,and set it. but this should be default behaviour.
- unexpected row_invalid_structure error
In images you can see both my code,error, column schema I do have timezone in table schema but still while creating a row i am receving row_invalid_structure e...
