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
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- float
Hello everyone, So, I created a column of type **float** with the **min** and **required** options, I noticed that it wouldn't let me set a **2 decimal points ...
- Unauthorized Charge on My Card – I Don’t...
Hi, I need urgent help. I received a bank SMS about a charge from "APPWRITE PRO" (18.460 JOD on 10/12/2025 at 03:47), but I DO NOT have an Appwrite account and...