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
已提问 9 个月前887 查看次数
1 回答
0
已接受的回答

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
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则