rohanOriginal post
Rank 4: Virtual Machine
Hi im trying to get the listDocuments and getting this error.
Plain text
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```Summary
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.