com.amazonaws.services.iot.model.ResourceNotFoundException

Policy not found (Service: AWSIot; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 5dc91155-f320-11e6-829f-0bd17228f870)


Solutions on the web1

Solution icon of github
via GitHub by hzbcdut
, 6 months ago
Policy not found (Service: AWSIot; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 5dc91155-f320-11e6-829f-0bd17228f870)

Stack trace

  • com.amazonaws.services.iot.model.ResourceNotFoundException: Policy not found (Service: AWSIot; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 5dc91155-f320-11e6-829f-0bd17228f870) at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:712) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:388) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:199) at com.amazonaws.services.iot.AWSIotClient.invoke(AWSIotClient.java:3713) at com.amazonaws.services.iot.AWSIotClient.attachPrincipalPolicy(AWSIotClient.java:432) at com.livestar.hzb.awsiotdemo.MainActivity$1.run(MainActivity.java:212) at java.lang.Thread.run(Thread.java:841)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 3 months ago