web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Copilot Studio
Unanswered

Where do errors go?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I was working with my bot, and connecting to Flow to pull a row from Excel. Everything appeared to work and I can see no issue in trace process, but the bot errors out instead of proceeding to the next step. I am sure I will have many errors, is there a way to see the exceptions?

 

https://powerva.microsoft.com/canvas?cci_bot_id=8a04ab3f-3dfc-4cc1-8280-8557a52bb4a4&cci_tenant_id=38564255-3626-447b-ae4b-2644ab10162f

 

 

Categories:
I have the same question (0)
  • JoeGill Profile Picture
    175 on at

    The error is happening in Flow so I would suggest if you get an error in Flow that you set an indicator in an an output variable returned to Virtual Agent. In Virtual Agent you can test the output value to see if an error has occurred and if so output a friendly response to the the bot user

     

    hth

    Joe

  • jpirelli Profile Picture
    Microsoft Employee on at

    That was my first thought as well, but the flow looks completely successful, even with the correct JSON in the response:

    {
    "retProduct": "AEM",
      "retEmail": "daycare@domain.com",
      "retTicketSystem": "Daycare",
      "retLink": "https://www.daycare.com",
      "retDescription": "Exp Manager"
    }
     
     
  • JoeGill Profile Picture
    175 on at

    Sorry you confused me now -  Is the error in the flow? 

  • jpirelli Profile Picture
    Microsoft Employee on at

    The flow has never failed. It logs complete success and payload as expected. Even the action step in my bot is successful, but the bot still ends with error.

     

    The bot says: 
    Sorry, something went wrong. I am not able to help you at the moment, please check back later.

     

    So I have no clue what might be the issue and how/where to troubleshoot it, especially since the flow is successful.

  • JoeGill Profile Picture
    175 on at

    Sounds like a timeout waiting for Flow to complete.  Check it works if you call another Flow - maybe a dummy with a fixed response.

  • jpirelli Profile Picture
    Microsoft Employee on at

    The flow runs in < 3 seconds. It is a simple flow to get a row from an excel stored in sharepoint.

    On my first bot in the same env, I was able to follow along and get the greeting tutorial to work.

     

    I'll mess with it more later, but back to my original question, where are the logs? If it is timing out, that should be trapped and surfaced somewhere?

     

  • JoeGill Profile Picture
    175 on at

    It is a SaaS platform so in depth errors not usually available.   Goto analytics and exports sessions and you can see conversation and what session where escalated or not resolved.  

     

    You should also able to query the Bot entities in the CDS environment  but I have not looked at these in depth yet

     

    Joe

  • jpirelli Profile Picture
    Microsoft Employee on at

    By pulling down the bot snapshot, I was able to see the error with JSON. Specifically, the JSON Schema I had defined had one more field than the JSON Payload I built, so it was erroring out at the bot side to parse the JSON. Ideally Power Automate would have recognized the fundamental issue here, but it shows as a pass and completes successfully.

     

    In this case, and I am guessing many others, the error surfaces in the Snapshot JSON you can download!

    Thanks!

     

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 177

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 45 Super User 2026 Season 1

Last 30 days Overall leaderboard