Azure IoT Message from cloud to device using Rest API

0 votes
Get: https://myiot.azure-devices.net/devices/mydevice/messages/devicebound?api-version=2016-02-03

Authorization: SAS key

So while receiving message using postman request maker, I am getting 204 No content response from above API, from cloud to device.

Can anyone help me with this?

Dec 31, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
2,074 views

1 answer to this question.

0 votes

Firstly, If you get No content response(error code:204) from calling the GET API, it might be due to the fact that you haven't sent Cloud-To-Device messages. It basically, means the server has fulfilled the request, but there is no new information to send back.

Secondly, Device-To-Cloud message you have sent is actually unreachable (as the GET API is meant for Cloud-to-Device Messages)

Finally, sending a Cloud-To-Device message.

Just for testing purposes, try sending Cloud-To-Device message from Device Explorer

Hope it helps! Good Luck.

answered Dec 31, 2018 by Upasana
• 8,620 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Integrate IoT device to Azure using MQTT

Today there isn't an official support for ...READ MORE

answered Sep 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,435 views
0 votes
1 answer

Publishing commands to device in IBM IoT using MQTT in Java

If you are publishing from an application, ...READ MORE

answered Jul 27, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,522 views
0 votes
1 answer

Send data from cloud to aws iot thing

Your solution is not recommend because there ...READ MORE

answered Aug 2, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,415 views
0 votes
1 answer

Testing if messages from my Device is reaching the Azure IoT Hub?

Download the Device Explorer open source tool ...READ MORE

answered Aug 10, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
3,900 views
0 votes
1 answer
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,349 views
0 votes
1 answer

How to use the data I receive from Azure IoT Hub?

The payload you receive will be a ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,817 views
0 votes
1 answer

Azure - What service to use for Arduino data (iot)

That's because the two services do completely ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,074 views
0 votes
1 answer

Azure IoT Hub : Sending messages using Python via mqtt

The thing is that IoT Hub is not ...READ MORE

answered Jan 4, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
3,843 views
0 votes
1 answer

Iot core v1beta1 discovery api : Unable to access Google

You can try using version v1 since ...READ MORE

answered Feb 8, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
772 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP