2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi, I recommend you redact all endpoints from the code and screenshots.
I see you already asked the same question here: https://repost.aws/questions/QULkoc-0AkQ1yDgN0ANxE7lg/lambda-function-error-list-indices-must-be-integers-or-slices-not-str Have you tried the recommendations and managed to get the print to show? Do you have a stack trace that indicates where its failing?
It seems you are not passing a JSON object to the function using the Test method but rather a list of objects. Could you please check that?
I also recommend you go through a workshop like this: https://aws.amazon.com/getting-started/hands-on/run-serverless-code/ to learn more about Lambda.
Hope it helps Jon
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전