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

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

Đang mở
#95 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
487
Fork
144
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu trong thư mục python-example-logs-api-extension và tái hiện lỗi trên một runtime Python được hỗ trợ, so sánh lần gọi đầu tiên với các lần gọi tiếp theo sau khi tắt. Hoàn tất khi các lần gọi Lambda lặp lại hoàn thành mà không gặp lỗi phân tích JSON đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, python
Lĩnh vực
cloud
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.