Error: SalesforceException: Error executing query. Error message received from Webservice. ERROR: sf:MALFORMED_QUERY

Document created by chris_stevens Employee on Apr 25, 2016
Version 1Show Document
  • View in full screen mode

Error

Error: SalesforceException: Error executing query. Error message received from Webservice. ERROR: sf:MALFORMED_QUERY

 

Cause

This error usually indicates a discrepancy between the number of filters defined on the Salesforce Operation and the number of parameters configured on the connector shape or connector call.

Solution

To resolve the error, you should review the number of Filters defined to make sure they are accurately representing the values you want to select by. Then, verify that each of the Parameters corresponds to a specific Filter. For example, notice here that within this operation there are 3 distinct Filters being applied (Type=, AccLastModDate>=, Industry=):

 

Now, within this same example, as we observe the Start Shape Parameter list, notice that we are not referencing or binding that 'Industry' Filter to any of our Parameters:

1 person found this helpful

Attachments

    Outcomes