Remote Test Socket Error: Text Message Size Exceeds Maximum Size [65536]
Issue
The AWS Lambda connector runs and fails, returning the error:
Remote test socket error: Text message size \[\#\#\#\#\#\] exceeds maximum size \[65536\].
Environment
Connector: AWS Lambda
Resolution
Verify that the response object includes exactly the JSON objects described in our setup guide.
If the code was developed on another cloud function provider, such as Google Cloud Platform (GCP), check the syntax of the code to ensure there are no GCP-specific functions included.
Cause
There are two potential causes:
- The response may be too large and should be broken up with the
hasMore
parameter. - The code may have been developed on GCP and copied to Lambda.