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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by hzbcdut
, 9 months ago
Policy not found (Service: AWSIot; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 5dc91155-f320-11e6-829f-0bd17228f870)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.