Problem statement: The customer is using the get activities by activity event API and he is trying to retrieve more than 10 million record and a 500 error was thrown.

Solution: After checking with the dev team, we see that there is a limit for this API and the limit is 1000000 and if the data size is more than that, the error wil be generated.
