The Device Shadow service publishes a message on the error topic (over MQTT) when an
attempt to change the state document fails. This message is only emitted as a response
to a publish request on one of the reserved $aws
topics. If the client
updates the document using the REST API, then it receives the HTTP error code as part of
its response, and no MQTT error messages are emitted.
HTTP error code | Error messages |
---|---|
400 (Bad Request) |
|
401 (Unauthorized) |
|
403 (Forbidden) |
|
404 (Not Found) |
|
409 (Conflict) |
|
413 (Payload Too Large) |
|
415 (Unsupported Media Type) |
|
429 (Too Many Requests) |
|
500 (Internal Server Error) |
|