Trying to rad data from database getting tihis error TypeError: Failed to construct 'URL': Invalid URL at Databases.<anonymous> (appwrite.js?v=9f5e979b:2187:19) at Generator.next (<anonymous>) at appwrite.js?v=9f5e979b:524:67 at new Promise (<anonymous>) at __awaiter (appwrite.js?v=9f5e979b:506:10) at Databases.listDocuments (appwrite.js?v=9f5e979b:2175:12) at DatabaseService.getProducts (database.js:19:44) at addSpecialOfferProd (main.js:108:37)
What did you pass to client.setEndpoint()
?
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...