当我尝试使用 SOAP API 拉许多联系人时,我得到 NVALID_QUERY_LOCATOR 异常。当任何具有子查询的查询在 SF 服务器上执行很长时间(超过 15 分钟)并且同时 SF DB 对象过期时,会发生 INVALID_QUERY_LOCATOR 异常。
执行以下查询时发生此异常 -
Select street, city, country, email, firstname, mobilephone, lastname, postalcode, state, phone, fax, id from lead where Email!=Null and BH4SF__Opted_Out__c = false and id in (select leadid from CampaignMember where campaignId = '70160000000Mk5FAAS') order by Email, CreatedDate
有关如何解决此问题的任何帮助?