

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Pesan kesalahan Device Shadow
<a name="device-shadow-error-messages"></a>

Layanan Device Shadow menerbitkan pesan tentang topik kesalahan (melalui MQTT) ketika upaya untuk mengubah dokumen status gagal. Pesan ini hanya dipancarkan sebagai tanggapan atas permintaan publikasi pada salah satu topik yang dicadangkan`$aws`. Jika klien memperbarui dokumen menggunakan REST API, maka ia menerima kode kesalahan HTTP sebagai bagian dari responsnya, dan tidak ada pesan kesalahan MQTT yang dipancarkan.


****  

| Kode kesalahan HTTP | Pesan kesalahan | 
| --- | --- | 
| 400 (Permintaan Buruk) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 401 (Tidak Sah) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 403 (Terlarang) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 404 (Tidak Ditemukan) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 409 (Konflik) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 413 (Muatan Terlalu Besar) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 415 (Tipe Media yang Tidak Didukung) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 429 (Terlalu Banyak Permintaan) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 500 (Kesalahan Server Internal) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/id_id/iot/latest/developerguide/device-shadow-error-messages.html)  | 