

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Messaggi di errore Device Shadow
<a name="device-shadow-error-messages"></a>

Il servizio Device Shadow pubblica un messaggio di errore nell'argomento di errore (tramite MQTT) quando un tentativo di modificare il documento sullo stato ha esito negativo. Questo messaggio viene inviato solo in risposta a una richiesta di pubblicazione in uno degli argomenti `$aws` riservati. Se il client aggiorna il documento usando l'API REST, riceve il codice di errore HTTP come parte della risposta e non viene inviato alcun messaggio di errore MQTT.


****  

| Codice di errore HTTP | Messaggi di errore | 
| --- | --- | 
| 400 (Richiesta non valida) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 401 (Non autorizzato) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 403 (Accesso negato) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 404 (Non trovato) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 409 (Conflitto) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 413 (Payload troppo grande) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 415 (Tipo di supporto non supportato) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 429 (Troppe richieste) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 
| 500 (Errore interno del server) |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/it_it/iot/latest/developerguide/device-shadow-error-messages.html)  | 