• Register
0 votes
160 views

Problem :

Whenever I try to go to my Logs page the following error shows:

“There was an error loading Log Streams. Please try again by refreshing this page.”

The problem is that there is another function which is identical except my code which is creating the log files no problem.

Any suggestions to resolve my issue?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please ensure that your Lambda's Execution Role has the Policy that allows the writing to CloudWatch Logs from the Lambda.

IAM console -> 'Roles' -> < your Lambda's role > -> 'Permissions' tab -> 'Permissions policies' accordion

Try to ensure that there is the Policy listed that has the parameters set like below :

· 'For Service': "CloudWatch Logs"

· 'For Access level': includes at least the "Write"

· 'For Resource': your Lambda should not be excluded it should not be set to another specific Lambda, or any another directory of Lambdas, or any another resource type.

· 'For Request condition': Should not preclude the context of the given Lambda execution

An example of the "AWS managed policy" that should meet these requirements the out-of-the-box, being that it is AWS-managed is the "AWSLambdaBasicExecutionRole". It has below parameters:

· 'For Service': "CloudWatch Logs"

· 'For Access level': "Limited: Write"

· 'For Resource': "All resources"

· 'For Request condition': "None"

If the Role does not have above policy already, either need to add the new one or need to edit and existing one to have your requirements listed here - then your error must be resolved.

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: Please help me to solve it out : there was an error accepting this trade offer. please try again later. (28)
asked Apr 7 rakib1 51.5k points
0 votes
1 answer 2 views
2 views
Problem: What are my options for dealing with this issue? there was a temporary dns error. try refreshing the page. error code: inet_e_resource_not_found
asked Apr 8 tuhin1 48.9k points
0 votes
1 answer 5 views
5 views
Problem: Please let me know the solution of error there was an error communicating with the steam servers. please try again later.
asked Apr 4 ashik 12.9k points
0 votes
1 answer 6 views
6 views
Problem: Why I am getting this error? There was an error sending your trade offer. please try again later. (26)
asked Mar 19 ummesalma 25.2k points
0 votes
1 answer 3 views
3 views
Problem: I installed the "Contact Form 7" plugin in WordPress and created a form. When i click on the submit button, the following error appears: There was an error trying to send your message. Please try again later.
asked Mar 19 ummesalma 25.2k points
0 votes
2 answers 2K views
2K views
Problem : I am getting following error login error: there is an error in logging you into this application. please try again later.
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
0 answers 24 views
24 views
Problem: How to fix this error:your session has expired. please refresh the page and try again.
asked Mar 3 amir.zaib45 1.2k points
0 votes
1 answer 5 views
5 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 13 views
13 views
Problem: I'm not able to generate DKIM record for .net domain (say yourdomain.net). It shows an error we are unable to process your request at this time. Please try again later.
asked Mar 15 ummesalma 25.2k points
0 votes
1 answer 10 views
10 views
Problem: we are unable to process your request at this time. please try again later.
asked Feb 23 Muneeb Saadii 130k points