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

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

Abierto
#95 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
487
Forks
144
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza en el directorio python-example-logs-api-extension y reproduce el fallo en un runtime de Python compatible, comparando la primera invocación con las llamadas posteriores después del apagado. Se considera completado cuando las invocaciones repetidas de Lambda se completan sin el error de análisis de JSON indicado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, python
Área
cloud
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.