Open
Description
openedon Jun 16, 2023
- Package Name: @azure/digital-twins-core
- Package Version: 1.10
- Operating system: MacOS ventura
- nodejs
- version: 19.9.0
- browser
- name/version:
- typescript
- version:
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug
Publishing telemetry on digital-twins-core doesn't work and returns {body:undefined}
To Reproduce
Steps to reproduce the behavior:
- Create a digital twin with a telemetry option called "Telemetry1".
- Send telemetry through the function:
const digitalTwinId = "<digital twin ID>";
const telemetryPayload = '{"Telemetry1": 5}';
const response = await serviceClient.publishTelemetry(
digitalTwinId,
telemetryPayload,
"<unique message ID>"
);
- console.log(response) returns {body:undefined}.
Expected behavior
The telemetry should correctly be published on the digital twin, but it doesn't, and no error is provided making it almost impossible to debug.
Additional context
This problem persists in different environments/operating systems. Node-red, Docker, Macos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Workflow: This issue is responsible by Azure service team.This issue requires a change to an existing behavior in the product in order to be resolved.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK team