All Lamda Function Test's Fail - Unexpected token '<', "<!--# Id: "

0

Hi,

Whatever I enter in Lambda as code (Python 3.9) or event json I get the same error. See below.

"Calling the invoke API action failed with this message: Unexpected token '<', "<!--# Id: "... is not valid JSON Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object."

I have tried following tutorials for very basic Lambdas and all have failed in the same way. Existing Lamda's built via a 3rd party CloudFormation integration also give the same result.

Any ideas what may be wrong?

Thanks

  • Can you update the question with your payload please? Also, there is no tutorial link in the question.

dalms
preguntada hace 9 meses888 visualizaciones
1 Respuesta
0
Respuesta aceptada

Lambda issues were happening on my corporately managed laptop. Tried with home machine and all works fine. Must be some sort of work restriction.

dalms
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas