aws-samples / aws-samples/aws-lambda-extensions
Error in python-example-logs-api-extension: Unexpected JSON Parsing Issue
- Langage dominant
- Go
- Étoiles
- 487
- Forks
- 144
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez dans le répertoire python-example-logs-api-extension et reproduisez l’échec sur un runtime Python pris en charge, en comparant la première invocation aux appels suivants après l’arrêt. Le travail est terminé lorsque des invocations Lambda répétées s’achèvent sans l’erreur d’analyse JSON signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python
- Domaine
- cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100