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
gefragt vor 9 Monaten894 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen