So I’m getting the following error from AWS Lambda:
The Lambda function returned a response that is too long to serialize. The response size limit for a Lambda function is 6MB.: ArgumentException at System.IO.UnmanagedMemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
This code is called from an ADMIN site and it’s trying to load ALL USERS in the system. I need a way to page the results from the server to the client so that I stay under the 6MB limit, yet still be able to pull all records to the client.
What is the best way to implement this functionality?