function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Chatter Feed SOQL Query limit exceeded?



In our sandbox environment this morning, I started noticing this error when running tests: UNKNOWN_EXCEPTION, Chatter Feed SOQL Query limit exceeded for this user.


There is nothing in the log output regarding Chatter Feed SOQL query limits, or anything to indicate we are approaching our limitations.  We do not even have Chatter enabled in the sandbox.


  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 500
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 3 out of 100
  Number of DML rows: 4 out of 500
  Number of script statements: 50 out of 200000
  Maximum heap size: 0 out of 1500000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 10
  Number of record type describes: 0 out of 10
  Number of child relationships describes: 0 out of 10
  Number of picklist describes: 0 out of 10
  Number of future calls: 0 out of 10
  Number of find similar calls: 0 out of 10
  Number of System.runAs() invocations: 0 out of 20


Any ideas on how I can diagnose this?





We're investigating this issue. I'll post an update here when I know more.


Thanks for your patience.



We have the same issue but in real environment!





I'm also facing the same issue while doing the deployment of my VF pages and Controller. It was working fine until last week.


Need help on this. Thanks in Advance.



   We're having the very sample problem when converting leads


An update for our experience:


We are now experiencing this in the live environment too;  it seems centered around unit tests that convert leads.


We can make one successful deployment / running of tests per hour, and then we exceed the Chatter SOQL limits (even though we do not use Chatter or have it enabled in our Org).




For those of you experiencing this issue, are you also using a dynamic SOQL?  I have code in production for over a dozen clients that is currently failing. It's a lead conversion class, controller, and VF page for a custom converter.  We use the exact same code, one version has a dynamic SOQL and one version does not and the version with the hardcoded SOQL is not failing. 




There was a bug relating to this issue that is being fixed in an emergency release that is in process. If you are still seeing this on Tuesday morning please post here.