Skip to content

Azure digital twins core: publish telemetry not working. #26237

Open

Description

  • 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

Describe the bug
Publishing telemetry on digital-twins-core doesn't work and returns {body:undefined}

To Reproduce
Steps to reproduce the behavior:

  1. Create a digital twin with a telemetry option called "Telemetry1".
  2. Send telemetry through the function:
const digitalTwinId = "<digital twin ID>";
const telemetryPayload = '{"Telemetry1": 5}';
const response = await serviceClient.publishTelemetry(
  digitalTwinId,
  telemetryPayload,
  "<unique message ID>"
);
  1. 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

ClientThis issue points to a problem in the data-plane of the library.Digital TwinsService AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions