I am encountering an unexpected error while using the Direct Line API to communicate with my Copilot agent. Below is the error:
Sorry, something unexpected happened. We’re looking into it. Error code: SystemError. Conversation ID: 6XVW5RppNeT1AYYbRgcSxy-us. Time (UTC): 5/23/2025 12:18:57 PM.
We are using Direct Line API 3.0 to implement a chatbot in our project for customers to ask questions related to provided content.
We will be making POST and GET requests for sending and receiving messages from specific topic inside copilot studio.
After posting a message, on GET API request getting this.
POST API: https://directline.botframework.com/v3/directline/conversations/U4MnI0Ysws4kXY1YVjVyG-in/activities GET API: https://directline.botframework.com/v3/directline/conversations/U4MnI0Ysws4kXY1YVjVyG-in/activities
This error is preventing seamless interactions with the Copilot agent, and I am unable to proceed with my intended workflow. I would appreciate your assistance in diagnosing the root cause and providing guidance on resolving the issue.
Best Regards,
Aliza Shaikh,
Tech Lateetud Team
{
"type":"message",
"id":"U4MnI0Ysws4kXY1YVjVyG-in|0000034",
"timestamp":"2025-05-23T13:12:05.8720572Z",
"channelId":"directline",
"from":{
"id":"b697c5d9-72f6-c6d5-9178-4096165ed488",
"name":"KMP Agent",
"role":"bot"
},
"conversation":{
"id":"U4MnI0Ysws4kXY1YVjVyG-in"
},
"textFormat":"markdown",
"membersAdded":[],
"membersRemoved":[],
"reactionsAdded":[],
"reactionsRemoved":[],
"text":"Sorry, something unexpected happened. We’re looking into it. Error code: SystemError. Conversation ID: U4MnI0Ysws4kXY1YVjVyG-in. Time (UTC): 5/23/2025 1:12:04 PM.",
Please try the following and share the results as reply:
Test conversation in Web Chat or Emulator:
• Use the Bot Framework Emulator or the built-in Web Chat tester in Copilot Studio. • If the same SystemError occurs, it’s not related to Direct Line—it’s inside the bot logic. Simplify your message: • Send a basic message like "Hi" and check if the error still occurs. If it works, the problem may be in how your POST message is structured or routed.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.