
v1.4.14 self host, runctime is node v20. I used node typescript starter and coded using classes and typescript.
Any query I am running gives an error:
TypeScript
{"code":500,"type":"general_unknown","response":{"message":"Server Error","code":500,"type":"general_unknown","version":"1.4.14"}}
And docker logs show:
TypeScript
$ docker logs appwrite
[Error] Timestamp: 2024-04-25T14:41:48+00:00
[Error] Method: GET
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
[Error] Type: Utopia\Database\Exception\Query
[Error] Message: Invalid query: {"method":"equal","attribute":"user_id","values":["zIyviTittP"]}
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Query.php
[Error] Line: 825
If I am running any query, I get the same result.
here is the sample code (attached).
I have not done any updates to the server. Any help is appreciated.
TL;DR
Developers are using a self-hosted version of node-appwrite v1.4.14 with TypeScript classes. Queries are failing and returning a 500 error. Docker logs indicate a Utopia\Database\Exception\Query with an invalid query. The issue persists despite no server updates.
What version of node-appwrite are you using?
Recommended threads
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
