Troubleshooting an Amazon IoT SiteWise portal - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshooting an Amazon IoT SiteWise portal

Troubleshoot common issues with your Amazon IoT SiteWise portals.

Users and administrators can't access Amazon IoT SiteWise portal

If users or administrators cannot access your Amazon IoT SiteWise portal, you may have restricted permissions in attached Amazon Identity and Access Management (IAM) policies that prevent successful logins.

See the following examples of IAM policies that will result in login failure:

Note

Any attached IAM policies that include a "Condition" element will cause a login failure.

Example 1: The condition here is a limited IP, and this will cause a login failure.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "iotsitewise:DescribePortal" ], "Resource": "*", "Condition": { "IpAddress": { "aws:SourceIp": [ "REPLACESAMPLEIP" ] } } } ] }

Example 2: The condition here is an included tag, and this will cause a login failure.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "iotsitewise:DescribePortal" ], "Resource": "*", "Condition": { "StringLike": { "aws:ResourceTag/project": "*" } } } ] }

When adding users or administrators to the portal, avoid creating IAM policies that restrict user permissions, such as limited IP. Any attached policies with restricted permissions will not be able to connect to the Amazon IoT SiteWise portal.