Can anyone help solve this issue - I am trying to setup authentication but got this error
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);
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?
Recommended threads
- Trying to Cutover custom domain, but sti...
Hi Team, Im trying to cutover my custom domain from an old project to a new one and even after deleting it from the old project and org completely, I get "Dom...
- Domain issues
i have deleted my organization before switch domains, now i cant register it in my new org
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...