Open
Description
openedon Mar 15, 2023
- Package Name: @azure/service-bus
- Package Version: > 7.8.0 or equal
- Operating system: Ubuntu 22.04 LTS
- nodejs
- version: 14.21.3
Describe the bug
When I try to schedule a message to the service bus queue from my timer trigger function using the .scheduleMessages() method, I encounter an exception. This exception is only encountered on versions of the package that are greater than v7.8.0. or equal.
Exception's stack
System.Private.CoreLib: Exception while executing function: Functions.functionName. System.Private.CoreLib: Result: Failure
Exception: The response link '28fed9fd-4c9a-b74a-b7b8-4612933b8225' was not found in the entity management node $management.
Stack: ServiceBusError: The response link '28fed9fd-4c9a-b74a-b7b8-4612933b8225' was not found in the entity management node $management.
at translateServiceBusError (/home/andrei/dev/Work/work-project/node_modules/.pnpm/@azure+service-bus@7.8.0/node_modules/@azure/service-bus/dist/index.js:4381:16)
at ManagementClient._makeManagementRequest (/home/andrei/dev/Work/work-project/node_modules/.pnpm/@azure+service-bus@7.8.0/node_modules/@azure/service-bus/dist/index.js:5035:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ManagementClient.scheduleMessages (/home/andrei/dev/Work/work-project/node_modules/.pnpm/@azure+service-bus@7.8.0/node_modules/@azure/service-bus/dist/index.js:5271:28)
at async Object.retry (/home/andrei/dev/Work/work-project/node_modules/.pnpm/@azure+core-amqp@3.2.2/node_modules/@azure/core-amqp/dist/index.js:1443:22)
at async Promise.all (index 0)
at async handler (/home/andrei/dev/Work/work-project/src/services/timer/handlers/the-function.js:37:7).
To Reproduce
Steps to reproduce the behavior:
- Create an instance of the Service Bus Client.
- Create a ServiceBusSender instance using the Service Bus Client.
- Invoke the scheduleMessages() function.
Expected behavior
Messages are successfully scheduled to the service bus queue.
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.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