Lambda Modules Fail Every Time

I finally made the forced transition from Integromat to Make, but while the migration process was seamless, now all of my scenarios that include an AWS Lambda module fail. They have all worked without issue on Integromat for months. The weird thing is, the Lambda modules ARE receiving the correct response after invoking the Lambda function, but they appear to be intepreted as failures by make. On each invocation, the correct response is received, but then an empty stack trace error is tacked on to the end (see pic).

It is beyond frustrating to be forced to make a change and now things that worked perfectly and were vital to my company now stop functioning. In the attached pic, the “Complete” message is received - which is the message that the Lambda function returns once it completes. I have verified on the backend that the function completed successfully. However, there is a stack trace message tacked on and the module has been marked as a failure with a RuntimeError.

Any ideas how to fix this?

image

Welcome to the Make community!

1.

Could you please share screenshots of the module fields and filters in question? It would really help other community members to see what you’re looking at.

2.

You can also export the scenario blueprint file to allow others to replicate the issue. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826

Uploading it here will look like this:

blueprint.json (12.34 KB)

3.

If possible, could you also please provide the input/output bundles of the modules by running the scenario, then clicking the bubble on the top-right of each module, taking screenshots of, and copying the contents into this discussion thread:

Screenshot_2023-08-29_100800

This will allow others to better assist you. Thanks!

2 Likes

I have created just a test scenario with only a Lambda module and it still fails.

Please see the following:

Blueprint:

{
    "name": "Lambda Test",
    "flow": [
        {
            "id": 1,
            "module": "amazon-lambda:invokeAFunction",
            "version": 1,
            "parameters": {
                "__IMTCONN__": 1597633
            },
            "mapper": {
                "body": "{\"order\": \"CR-2308-1659876\",\n  \"case\": \"TR2009051557\"}",
                "function": "RevisedCaseReview",
                "InvocationType": "RequestResponse"
            },
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 0
                },
                "restore": {
                    "expect": {
                        "function": {
                            "mode": "chose",
                            "label": "RevisedCaseReview ($LATEST)"
                        },
                        "InvocationType": {
                            "mode": "chose",
                            "label": "Request Response"
                        }
                    },
                    "parameters": {
                        "__IMTCONN__": {
                            "data": {
                                "scoped": "true",
                                "connection": "amazon-lambda"
                            },
                            "label": "My Amazon Lambda connection"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:amazon-lambda",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "function",
                        "type": "select",
                        "label": "Function Name",
                        "required": true
                    },
                    {
                        "name": "InvocationType",
                        "type": "select",
                        "label": "Invocation Type",
                        "required": true,
                        "validate": {
                            "enum": [
                                "RequestResponse",
                                "Event",
                                "DryRun"
                            ]
                        }
                    },
                    {
                        "name": "body",
                        "type": "any",
                        "label": "Body"
                    }
                ]
            }
        }
    ],
    "metadata": {
        "instant": false,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "confidential": false,
            "dataloss": false,
            "dlq": false,
            "freshVariables": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "us1.make.com"
    }
}

Hello @Justin1 welcome to the community :wave:

First of all, I’m genuinely sorry to hear about the issues you are having with the Lambda modules following your migration to Make.

I noticed that you’ve also taken the initiative to log a support ticket. That’s great because our support agents have the necessary tools, permissions, and escalation processes to effectively address bug reports. I can see that this issue has been reported to our dev team and I’m sure they will start working on it as soon as they can.

Once the fix is deployed, you will get an automated update from the support team.

Thank you very much for your patience and understanding :pray:

1 Like