
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
- Self hosting password reset flow V1.7.4
Hi all, I am having trouble making a password reset flow that works for self hosted. I know it has the fuunctionality but I keep getting errors: The probl...
- Import Css glitsch?
Hey, Seems to be not only my computer, but some other i know - Seems that there's a css error When migrating, the input checkbox, and selectbox are.. out of st...
- Migration Error
Hi, so I triggered a migration from appwrite cloud to appwrite self hosted instance, I used the inbuilt migration tool and it failed to migrate things like clo...
