Back

Query not working in Appwrite functions after custom domain added to the digital ocean droplet.

  • 0
  • Self Hosted
  • Functions
Friend
4 Jun, 2023, 06:45

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.

TL;DR
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
4 Jun, 2023, 12:52

what exactly are the errors that get thrown on the functions?

Friend
4 Jun, 2023, 17:36

@safwan No errors in particular. For example, in this function the query is ignored and the whole collection is returned.

Drake
4 Jun, 2023, 21:09

What exactly is the result (documentList)?

Friend
5 Jun, 2023, 02:02

@Steven The result was all the documents in the collection.

Drake
5 Jun, 2023, 02:28

Screenshot or something please?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more