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
asked 9 months ago809 views
1 Answer
0
Accepted Answer

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
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions