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
posta 9 mesi fa894 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande