
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.
You have not called client.setEndpoint()

oh thanks i set it manually using variables and its working now
Recommended threads
- upgrading from 1.4.5 to 1.6.0 broke my s...
I managed to upgrade my self hosted instance from 1.4.5 to 1.6.0 and now when i try to log into the dashboard i get the error in the attached image. Also any ap...
- Looking for FullStack Developer
I'm looking for FullStack Developer who is passionated about both Frontend and Backend. If you are interested, please DM me. Thanks.
- Help understanding what "upgrade" and "m...
Hello, I'm currently running appwrite with k8s (well, a dirty "hack" of converting each container to a deployment). And I have some trouble understand what "upg...
