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

GitHub | hzbcdut | 1 week ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca . Or join the community to write better ones.
  1. 0

    GitHub comment 92#279893991

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

    AWS IoT UpdateThing Exception

    GitHub | 11 months ago | Mindbowser
    com.amazonaws.services.iot.model.InvalidRequestException: 2 validation errors detected: Value '{"state"={"reported":{"device_id":"ABCD","motion_info":"STOP"}}}' at 'attributePayload.attributes' failed to satisfy constraint: Map keys must satisfy constraint: [Member must have length less than or equal to 128, Member must have length greater than or equal to 0, Member must satisfy regular expression pattern: [a-zA-Z0-9_.,@/:#-]+]; Value '{"state"={"reported":{"device_id":"ABCD","motion_info":"STOP"}}}' at 'attributePayload.attributes' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 1024, Member must have length greater than or equal to 0, Member must satisfy regular expression pattern: [a-zA-Z0-9_.,@/:#-]+] (Service: AWSIot; Status Code: 400; Error Code: InvalidRequestException; Request ID: d52c5f07-f0e5-11e5-8dd0-8d8709559cb7)
  3. 0
    samebug tip
    In OSX the issue for me was due to missing sqlite4java lib DynamoDB need. Following the attached stackoverflow question solved my issue
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSON parse error while handling error response

    GitHub | 6 months ago | mwm-twx
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@239a4a9e; line: 1, column: 2]
  6. 0

    AWSIoT Android SDK fails to generate new certificate+key

    Stack Overflow | 2 months ago | AnirbanMukherjee
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Unable to resolve host "execute-api.eu-central-1.amazonaws.com": No address associated with hostname

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. AWS SDK for Java - Core
      AmazonHttpClient.execute
      1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:712)
      2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:388)
      3. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:199)
      3 frames
    3. com.amazonaws.services
      AWSIotClient.attachPrincipalPolicy
      1. com.amazonaws.services.iot.AWSIotClient.invoke(AWSIotClient.java:3713)
      2. com.amazonaws.services.iot.AWSIotClient.attachPrincipalPolicy(AWSIotClient.java:432)
      2 frames
    4. com.livestar.hzb
      MainActivity$1.run
      1. com.livestar.hzb.awsiotdemo.MainActivity$1.run(MainActivity.java:212)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:841)
      1 frame