• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
Solution home Troubleshooting Salesforce

Salesforce Error: 400 Bad Request

Modified on: Thu, Dec 22, 2016 at 7:03 AM

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.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    © Workato 2020   Privacy   Terms   +1 (844) 469-6752
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato