You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the token from step 1, initialize the var directLineClient = new DirectLineClient(token),
Error is thrown as below: System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
at System.Collections.Generic.List`1.Add(T item)
at Microsoft.Bot.Connector.DirectLine.DirectLineClient.Initialize()
Expected behavior
Should be able to initialize the Client.
Screenshots
If applicable, add screenshots to help explain your problem.
Background:
Trying to connect to copilot studio agent using Direct Line.
var directLineClient = new DirectLineClient(token),
at System.Collections.Generic.List`1.Add(T item)
at Microsoft.Bot.Connector.DirectLine.DirectLineClient.Initialize()
Expected behavior
Should be able to initialize the Client.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Sample code taken from https://github.com/microsoft/CopilotStudioSamples/blob/master/BotConnectorApp/BotConnectorApp/BotConnectorApp/Program.cs
Package version of Microsoft.Bot.Connector.DirectLine used is 3.0.2 (latest stable version)
The text was updated successfully, but these errors were encountered: