Poppy
Poppy

Reputation: 3092

AWS Lambda cloudwatch logs throw "Failed to load events" error

I have a lambda function with the following permissionsenter image description here

whenever the lambda function is triggered, I see a log file being added to the logstream in cloudwatch. enter image description here

When I try to open any of the logs, it throws Failed to load events Unexpected error loading events error. Please help with fixing the issue.

Upvotes: 4

Views: 2252

Answers (3)

Travis
Travis

Reputation: 353

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!

Upvotes: 0

user1261470
user1261470

Reputation: 161

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.

Upvotes: 1

Alex Go
Alex Go

Reputation: 51

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

Upvotes: 4

Related Questions