Error:
400 Bad Request: [{"message":"invalid query locator","errorCode":"INVALID_QUERY_LOCATOR"}]
What does this mean?:
This has to do with having too many recipes triggering based on the same Salesforce Object (eg. Accounts, Leads). Salesforce can have up to 10 query cursors open at a time. If 10 Query Locator cursors are open with Workato, using the same user account, attempts to open a new one, then the oldest of the 10 cursors is released. If Workato attempts to open the released query cursor, an error results. (Source: Salesforce Developer Limits Quick Reference)
Solution:
You can merge similar recipe that trigger based on the same object and use conditional actions to achieve the tasks of the original recipes.
Have a question? Join our bi-weekly Expert Hour to get help from our Experts. Alternatively, you can find similar questions in our Q&A (Recipe Errors) Forums or Start a New Topic.