
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
- Looking for Partner
I'm looking for a partner for long-term collaboration. Of course, you'll get paid for it. If you are interested, please send a DM to me
- Having errors migrating to cloud
Project will not migrate compeltely
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
