Getting API Error in Ohio and N. Carolina

0

I am not able access my resource in two regions and I ma getting API error for emarly any operation. Enter image description here What is the reason?

asked a year ago249 views
1 Answer
0

Hello!

This can be caused by a few things, but primarily revolves around access denied or active event.

You can check for active events by checking the Service Health Dashboard https://health.aws.amazon.com/health/home

If it is a permissions issue it is likely IAM policy [1] or SCP related. If possible (if you have access), a good way to troubleshoot this is to go to your CloudWatch console event history. Here you may filter recent events to EventSource "ec2.amazonaws.com". The API calls from your screenshot will be listed there with their error messages. As an example, one of the API calls is likely "DescribeInstances". If this event error message is AccessDenied, consult your AWS administrator or check your user/role IAM policies and SCPs in your Organizational Unit if you are in an organization. If you are unable to view CloudTrail events either, it is likely a regional Deny policy being applied to either your IAM user/role or the OU.

[1] https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html [2] https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

answered a year 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