In This Article:

    There was a problem with this query. Please contact your support channels.

    In This Article:

      If you've run into an error like this:

      QueryImage14.png

      chances are pretty good that your query conditions are taking too long to process. The performance of your query can be affected by the complexity of the conditions, and the more complex the structure is, the longer the query will take to process. When you encounter this error try breaking your query into smaller parts to see if it resolves this problem.

      As an example, let's say that I want to run a query for "everyone who is in any of my groups." That query would look like this:

      GroupQuery1.png

      and depending on how many supporter records we have to search on, queries like this frequently will time out.

      Instead, we can break the query down into smaller batches, like this:

      GroupQuery2.png

      and in the second step after running the query, we can add a unique tag to the supporters who are returned, like this:

      GroupQuery3.png

      We can repeat that process with other batches and add the same tag. Then, when we return the full results for all of the records, we can use the tag as one of our conditions, like this:

      GroupQuery4.png

      Here is our documentation on queries:

      https://help.salsalabs.com/entries/22537388-Query-and-Export

      If you continue to run into this error even after limiting the amount you are querying on please let us know and we can check into it further.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.