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
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...