
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
- SDK mismatch
Hi there, The following warning is currently appearing in my console: ``` Warning: The current SDK is built for Appwrite 1.8.0. However, the current Appwrite...
- Can't read files from s3 storage directl...
I try to download the files stored by appwrite directly from my S3 provider. The bucket is not encrypted and no gzip but the files seem not to be stored there i...
- function unable to detect client ip
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect t...
