Blank Payload from Invoke Lambda Function in Lambda Connector

0
Hi everyone,   I created a microflow that fetches the volume IDs of a specific instance to trigger a lambda function I created to retrieve the corresponding letter of those volumes and send it back to mendix.   When debugging I can see that my microflow: successfully creates the event to trigger my lambda function successfully triggers the lambda function with this event the lambda function retrieves the desired information   However, the problem I encounter is that the lambda function's payload in mendix is blank. Is there a particular setting in the lambda connector that I should be aware of that is creating this issue?   Below is a section of my microflow to provide more context. Please ignore the Call REST activity. Thank you
asked
1 answers
0

Hi Kate,

 

Thank you for reaching out to us. We're glad to help you.

As far I can see, there are no errors on the Mendix side.

The most obvious reason probably is that the attribute InvocationType in the InvokeFunctionRequest is set to "EVENT".

This means that AWS will invoke the function asynchronously, so it will not return the payload directly with the invocation of the function.

See for more info on this the AWS Lambda API documentation: https://docs.aws.amazon.com/lambda/latest/api/API_Invoke.html#API_Invoke_RequestSyntax

 

Does this help you?

 

Kind Regards on behalf of the Mendix Strategic Alliance Development team,

Emiel

answered