This is a weird problem. Everything was working fine before adding the domain. But after the domain is added, query functionalities stopped working from appwrite functions. However, I checked it from the frontend sdk and queries are working fine. Other functionalities like getting docs using appwrite functions are also working.
Summary
User is experiencing issues with queries not working in Appwrite functions after adding a custom domain to their Digital Ocean droplet. The result is returning all documents in the collection instead of the expected query results. No specific errors are mentioned, but the issue is only occurring in Appwrite functions and not in the frontend SDK. The problem started after adding the custom domain.
safwan
Jun 4, 2023, 12:52
what exactly are the errors that get thrown on the functions?
Friend
Web Developer
Jun 4, 2023, 17:36
@safwan
No errors in particular. For example, in this function the query is ignored and the whole collection is returned.
Drake
Admin
Jun 4, 2023, 21:09
What exactly is the result (documentList)?
Friend
Web Developer
Jun 5, 2023, 02:02
@Steven
The result was all the documents in the collection.