Command Response, no "View Payload" button

Zach F 1 Reputation point

I am using the code from the async-hub-scenarios, particularly the "receive_direct_method" file.

It states to do the following:


This is what happens in the "response"


If I serialize the payload, the response now shows - however - there is no "view payload" button and the response is overwritten in the command history when I send another command.

Here is code:


Here is response with no "view payload" button.


Why is the response originally nothing, then theres no view payload button - but the entire time, every response overwrites the previous response in the command history section. Thank you.

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
359 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,156 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Roman Kiss 2,246 Reputation points

    @Zach F Try to use the object schema for the command response.


    For the second question about the missing responses in the Command history, yes, it looks like this is a bug.

    btw. this is a duplicate question to SO.


    1 person found this answer helpful.