Rank 1: Thread
I am executing Appwrite Function from react, getting below error for fetching data from table in function.
Code snippet where function throw this error:
const records = await database.listRows({
databaseId: config.appwrite.databaseId,
tableId: config.collections.jobApply,
queries: [Query.equal('candidateId', candidateId), Query.limit(5000)],
});
Function details:
Function is deployed with Node.js-22 on cloud.
i am using "node-appwrite": "^19.0.0" in appwrite function.
error:
AppwriteException: Route not found, Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version.