简体   繁体   中英

AWS Lambda cloudwatch logs throw “Failed to load events” error

I have a lambda function with the following permissions 在此处输入图片说明

whenever the lambda function is triggered, I see a log file being added to the logstream in cloudwatch. 在此处输入图片说明

When I try to open any of the logs, it throws error. 错误。 Please help with fixing the issue.

I had the same error. The issue was: my 'Authorization' header has been modified. In my case — I added it using chrome extension for the testing purposes

For what it's worth, I saw the same error using Firefox but got the expected results using Chrome. So use Chrome to view CloudWatch.

This just happened to me. I suspect it had something to do with AWS's recent DNS issues. I had to go into my router's settings and change from dynamic DNS to static DNS. I used servers 1.0.0.1 and 1.1.1.1. Hope this helps someone!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM