labs icon indicating copy to clipboard operation
labs copied to clipboard

Issue while writing to the Event Hub

Open ShanthiTV opened this issue 3 years ago • 0 comments

After setting up the PowerBI account and creating an Azure function to write data to Event Hub, the build is successful. Once the data is generated from the DataGenerator, the "func host start" from the ChangeFeedFunctions folder, starts “Writing to the EventHub” but throws an exception saying,

Executed 'AnalyticsFunction_' (Failed, Id=8678f7f4-1a83-4a83-9d23-e889707279cf, Duration=455ms) [2022-09-13T08:40:34.085Z] System.Private.CoreLib: Exception while executing function: AnalyticsFunction_. Microsoft.Azure.Amqp: Operation is not valid due to the current state of the object.**

I'm using netcoreapp3.1 framework.

ShanthiTV avatar Sep 13 '22 10:09 ShanthiTV