Trying to test a simple lambda - getting Unable to unmarshal error
pokalas1015 opened this issue · 5 comments
pokalas1015 commented
"Unable to unmarshal input: Expecting value: line 1 column 1 (char 0)"
Dockerfile:
FROM public.ecr.aws/lambda/python:3.8
ADD aws-lambda-rie /usr/local/bin/aws-lambda-rie]
COPY entry_script.sh ./
COPY myfunction.py ./
CMD ["myfunction.lambda_handler"]
myfunction.py:
import json
import sys
def lambda_handler(event, context):
print("Hello from AWS Lambda!")
pokalas1015 commented
Sending Error Response: Runtime.Unknown
when turned on debug log level
pokalas1015 commented
Worked! Does not work with curl, works with Invoke_Web
pokalas1015 commented
Close this issue
valerena commented
I'm interested to know what command you were running originally, but I'm glad it was resolved.
pokalas1015 commented
Curl command, it does not work
Yahoo Mail: Search, Organize, Conquer
On Tue, Jun 18, 2024 at 7:44 PM, Renato ***@***.***> wrote:
I'm interested to know what command you were running originally, but I'm glad it was resolved.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>