Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
448 stars 595 forks source link

Getting "TooManyCallsException" in ACS commons report #2975

Open Sagartiwari2005 opened 1 year ago

Sagartiwari2005 commented 1 year ago

I have requirement to get the list of users who are not logged in last 90 days. I have created ACS commons report and getting the list of users using query. When I am selecting "All Result" option from report page, I am getting "TooManyCallsException" exception. Please find below image for exception

exception jpg
YegorKozlov commented 1 year ago

How many records does the 90-days report return? Does it work if you get the list , say, for last 10 days ?

The TooManyCalls Exception can be thrown when the maximum number of RequestDispatcher.include was reached within the given request. The default threshold is 1000, but can be bumped up in the Sling Main Servlet OSGi configuration:

image