1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
2
Hi. InvalidRequest
is defined in the documentation as:
The request is generally identified as malformed. For more information, see the error message.
So it seems likely the payload you sent in the get
is incorrect. Please review that: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt-based-file-delivery-in-devices.html#mqtt-based-file-delivery-get-getstream
The AWS IoT Device SDK for Embedded C includes an OTA library that has an implementation of MQTT file streaming. It may be useful to review how it constructs a GetStream request: https://github.com/aws/ota-for-aws-iot-embedded-sdk/blob/main/source/ota_cbor.c#L238
If you are developing this in C for a device firmware update, I recommend you instead use the AWS IoT C SDK libraries.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses