
Appwrite Node Version: ^13.0.1
I have come across this really strange behavior regarding an updateDocument call where is will append a forward slash to the end of the request resulting in a AppwriteException: The requested route was not found.
error.
The frustrating part is it does not do this every time and I can't seem to track down the cause.
Appwrite Call
await DatabaseAPI.db.updateDocument(
"games",
"miniSolves",
userSolve?.$id ?? "",
{
solved: solve.solved,
time: solve.time,
solve: solve.solve,
}
);
Request
Request URL: https://blah/v1/databases/games/collections/miniSolves/documents/
Request Method: PATCH
Status Code: 404 Not Found
The proper request url should not include the trailing /
Appreciate any help in tracking down this issue ❤️

Node .updateDocument() appending /
in request
Recommended threads
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
