aws-samples / aws-samples/aws-lambda-extensions

Error in python-example-logs-api-extension: Unexpected JSON Parsing Issue

オープン
#95 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Begin in the python-example-logs-api-extension directory and reproduce the failure on a supported Python runtime, comparing the first invocation with subsequent calls after shutdown. Done means repeated Lambda invocations complete without the reported JSON parsing error.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。