Troubleshoot - 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.

Troubleshoot

Use the following information to troubleshoot and resolve issues with the storage configuration.

Error: Bucket doesn't exist

Solution: Amazon IoT SiteWise couldn't find your Amazon S3 bucket. Make sure you enter the name of an existing Amazon S3 bucket in the current Region.

Error: Access denied to S3 path

Solution: Amazon IoT SiteWise couldn't access your Amazon S3 bucket. Do the following:

  • Make sure that you use the same Amazon S3 bucket that you specified in the IAM policy.

  • Make sure that your role has the permissions shown in the following example.

    Example permissions policy

    { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:DeleteObject", "s3:GetBucketLocation", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::bucket-name", "arn:aws:s3:::bucket-name/*" ] } ] }

    Replace bucket-name with the name of your Amazon S3 bucket.

Error: Role ARN can't be assumed

Solution: Amazon IoT SiteWise couldn't assume the IAM role on your behalf. Make sure that your role trusts the following service: iotsitewise.amazonaws.com. For more information, see I can't assume a role see IAM User Guide.

Error: Failed to access cross-Region S3 bucket

Solution: The Amazon S3 bucket that you specified is in a different Amazon Region. Make sure that your Amazon S3 bucket and Amazon IoT SiteWise assets are in the same Region.