
Hey all, i updated the node-sdk to 17.1.0 and tried the upsertDocument function added, but that gives me the error:
"name": "AppwriteException",
"code": 500,
"type": "general_unknown",
"response": "{\"message\":\"Server Error\",\"code\":500,\"type\":\"general_unknown\",\"version\":\"1.7.4\"}"
I checked if we needed to update the database as we are self hosting but 1.7.4 seems to be correct. Am i missing something?
Edit:
2025-07-16T12:17:29.538332908Z [Error] Timestamp: 2025-07-16T12:17:29+00:00
2025-07-16T12:17:29.538376777Z [Error] Method: PUT
2025-07-16T12:17:29.538384270Z [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents/:documentId
2025-07-16T12:17:29.538390823Z [Error] Type: PDOException
2025-07-16T12:17:29.538396501Z [Error] Message: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
2025-07-16T12:17:29.538402408Z [Error] File: @swoole/library/core/Database/PDOStatementProxy.php
2025-07-16T12:17:29.538408120Z [Error] Line: 49
This is the error in the appwrite logs
Recommended threads
- Queries Length Error.
Hi All, I am having a issues across my app with how i am getting data, and just wanted to check if this was an issues with the new changes on appwrite over the...
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
- The current user is not authorized to pe...
I'm just getting this error while it was working couple minutes ago, my users have permissions to access and create tables data but on some databases I'm just g...
