You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lambda function (to the lambda handler) invoked with no InvocationType fails with a message that 'null' invocation type is not supported.
Expected behavior/code
Per the AWS documentation, if there is no InvocationType, RequestResponse is assumed. In AWS this is handled at the server when the X-Amz-Invocation-Type header is missing.
Bug Report
Current Behavior
Lambda function (to the lambda handler) invoked with no InvocationType fails with a message that 'null' invocation type is not supported.
Expected behavior/code
Per the AWS documentation, if there is no InvocationType, RequestResponse is assumed. In AWS this is handled at the server when the X-Amz-Invocation-Type header is missing.
https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html
Environment
serverless
version: 1.67.0serverless-offline
version: 6.0.0node.js
version: v10.19.0OS
: macOS: 10.14.6Possible Solution
See forthcoming PR
The text was updated successfully, but these errors were encountered: