aws-samples / aws-samples/aws-lambda-extensions
Error in python-example-logs-api-extension: Unexpected JSON Parsing Issue
- 主要语言
- Go
- 星标
- 487
- 派生
- 144
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi team, I am encountering below output during subsequent calls to my lambda function. The output from the console is:
```
Test Event Name
TestEvent
Response
Calling the invoke API action failed with this message: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
Function Logs
Request ID
```
I have followed the instructions in that directory and using the layer published following them.
Tried on runtimes: Python 3.10, Python 3.9
The invocation does not fail for the first time i.e invocation after shutdown event but fails for the subsequent invoke calls.
Thanks
贡献指南
调研方向
从 python-example-logs-api-extension 目录开始,在受支持的 Python 运行时上重现该故障,并比较首次调用与关闭后的后续调用。当重复的 Lambda 调用能够完成且不再出现报告的 JSON 解析错误时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, python
- 领域
- cloud
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100