rohan
Hi im trying to get the listDocuments
and getting this error.
TypeScript
at Client.call (/usr/code-start/node_modules/node-appwrite/lib/client.js:177:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Databases.listDocuments (/usr/code-start/node_modules/node-appwrite/lib/services/databases.js:1002:16)
at async module.exports (/usr/code-start/src/index.js:60:16)
at async /usr/local/src/server.js:68:13```
TL;DR
The user is encountering an "Error: getaddrinfo ENOTFOUND hostname" when trying to execute the `listDocuments` function. One suggestion is to make sure that `client.setEndpoint()` has been called. The user tried setting variables manually and it resolved the issue. Drake
You have not called client.setEndpoint()
rohan
oh thanks i set it manually using variables and its working now
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...