incrementDocumentAttribute throwing "Route not found" on Node SDK 17.2.0 with Appwrite 1.7.4
- 0
- Self Hosted
- Databases

Hi, I’m running into an issue when trying to increment a numeric field using the Node.js SDK. My environment:
Appwrite: self-hosted, version 1.7.4 node-appwrite: version 17.2.0
Code snippet:
ctx.databases.incrementDocumentAttribute(
'MAIN_DB',
'CONVERSATIONS',
conversationId,
'messagesCount',
1
);
Error message:
AppwriteException: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details. at _Client.call (...)
From the docs and changelog, I thought incrementDocumentAttribute was already supported in recent SDK versions, but it seems this route might not exist in the 1.7.4 API.
Thanks in advance!
Recommended threads
- Appwrite schema migrations
Hi team, I'm new to Appwrite and wanted to read up on how database schema migrations are handled. I did see the cli collections pull and push commands however, ...
- DATABASE ERROR
When I select NULL as the value and click update, it shows that the update is successful, but when I refresh it changes back to add-avatar. It seems that all fi...
- Flutter Starter Configuration Not Up to ...
I was trying to use Appwrite and connect Flutter, while using the starter kit from GitHub, as advised (please compare with attached screenshot). However, the s...
