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
- No domain visible after creating functio...
Saw this in docs yet i have no domain (Pro): ``` Generated domains In the Appwrite Console's sidebar, click Functions. Under the Domains tab, you'll find the g...
- Disabling registration
Is it possible to disable registration in self hosted ?
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...