Overview
When building out Python scripts in Tines, you may run into the following error message after executing the script action:
The script payload is too large to be processed. - Request must be smaller than 6291456 bytes for the InvokeFunction operation
Cause and solution
This error is caused by a platform limitation with AWS Lambda, the service we use to execute Python scripts that are built within your stories. The maximum size allowed for the invocation payload is 6MB.
🟢 Solution: We recommend reducing the size of your Python script, for example, by splitting it out into multiple actions.
Need further assistance?
Here are resources to help better understand the behavior surrounding the limitation: