
my appwrite appwrite request a suddenly failing, they were working before, database getDocument, createDocument all failing - AppwriteException: The requested route was not
AppwriteException: The requested route was not found. Please refer to the API docs and try again.

the code was working just few mins ago @Support , please can you assist, it urgent impacting my consumers

do you have a proper api url for the sdk?


yes, i do - https://cloud.appwrite.io/v1

what does your appwrite client look like?

thanks, i know the issue, i am running the function locally, so when i pull it, i forgot to edit the remain env. only api url was defined const appwriteBaseUrl =
process.env.APPWRITEBASEURL || 'https://cloud.appwrite.io/v1';
const projectId = process.env.APPWRITE_PROJECTID || '';
const databaseId = process.env.APPWRITE_DATABASEID || '';
const collectionId = process.env.APPWRITE_COLLECTIONID || '';
const appwriteApikey = process.env.APPWRITE_DB_APIKEY || '';

that makes sense, so your issue is fixed?

yes

Great!

[SOLVED] AppwriteException: The requested route was not found
Recommended threads
- Unable to migrate from self hosted to cl...
I'm trying to migrate my project that's currently self hosted running on version 1.6.0. I was able to migrate 3 other projects that had auth, functions, and dat...
- Can multiple functions exist in one Appw...
Can I add more than one function in the `src/main.js` file of an Appwrite cloud function? What if the different functions depend on two separate events, speci...
- Postman function call
Hi I'm trying to call a locally running function, which requires auth, in headers I'm passing jwt token with key as 'x-appwrite-user-jwt", but upon logging req....
