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
- Why can't I sign up on whitelisted email...
I’m trying to sign up in the Appwrite console using a whitelisted email address, but it doesn’t work. What happens: Sometimes I get “User already exists” for ...
- Multi-tenant setup with different passwo...
I’m building a multi-tenant SaaS app using a single project. Each tenant’s data is stored in a separate Database (one DB per tenant). I’m using Auth for us...
- Appwrite 1.7.4 Docker query error
I’m running Appwrite 1.7.4 docker image using the sdk-for-apple package. The collection has 16 documents if l run Query.limit(1) I get one record. But if I run ...
