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 :
Power Platform Community / Forums / Copilot Studio / The bot content is inv...
Copilot Studio
Answered

The bot content is invalid. Error code: 2001

(0) ShareShare
ReportReport
Posted on by 41

I am getting below error while everything is in correct order in topic and as you can see the canvas even called for the flow to be actioned, but that green tick doesn't mean it ran. I have checked the flow runs and it doesn't get to that stage.

 

Any solution for this issue? What could cause it?

 

I have 4 topics which 3 of them are being called from 1 topic.

 

 

PVA Bot Error.PNG

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Futurist 

     

    When you click on "View flow details" what is shown?

     

    Usually the error comes up if the Flow has failed or is not brining in the return values.

  • Futurist Profile Picture
    41 on at

    Hi @Jcook Thanks for the reply, I am not sure where to find "view flow details" but if you mean to check the flow run history, it shows as it was never ran. As per below,

    PVA.PNG

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hey @Futurist 

     

    No problem,

    I am referring to the "View flow details" from the bot itself. You can see this option in the Screenshot you shared.

     

    image.png

  • Futurist Profile Picture
    41 on at

    Hey @Jcook 

    That will redirect to the flow itself in a new page to make amendments but as mentioned it has no "run" in history

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hey @Futurist 

     

    Hmm, that is weird,

    What does your Flow look like, what does the return to PVA look like? (The last action in your Flow)

     

    Could you try removing the Flow and adding it back.

  • Futurist Profile Picture
    41 on at

    Hey @Jcook ,

     

    Actually after that flow there is a "message" and then "end conversation". 

     

    Actually I have 4 topics which 1 topic is the main topic and the paths on the main topic ends with 3 "jump topic" action. The logic is to grab specific document based on the user input to the bot, the user also provides his/her email address which is shared from main topic as global bot, the flows are for sending email to the users and the paths of chatbot ends with a message after the outlook email is sent. 

     

    There is no issue with main topic and all the routes work, I have a feeling the issue is the sub topics which maybe cannot talk back to the main topic that was called from. 

  • Futurist Profile Picture
    41 on at

    Hi @TomaszPoszytek , may I please have your valuable insight on this issue? Thanks

  • TomaszPoszytek Profile Picture
    170 Most Valuable Professional on at

    Hi @Futurist, please print-screen and share design of your flow (Power Automate) that is called. Expand trigger and return to PVA action. Also, if there are any loops/ conditionals/ branches - please expand those as well before doing screenshot. Thanks!

  • Futurist Profile Picture
    41 on at

    Hi @TomaszPoszytek  thank you for your attention and help.

    I have big topic that 3 other topics are being called from this topic, please see below the big (main) topic:

    Tier main.PNG

     

    As you can see above, 3 branches are going to another topics. The flows in main topic all work and flows run the chatbot also doesn't give error when in main topic. It gives error when running flows in any of the three subtopics. I suspect the issue being with PVA and not PA.

     

    T2 to error.png

    Next, I have selected "Tier 2" which then bot was guided to that topic and as you can see below the bot was responding well until the flow, it even shows with a "green tick" that flow is successfully actioned but it doesn't show any run if I check the flow in power automate, after that there are only two steps first is show message then it is ending conversation which none of these two run! The error is shown below:

    CHatbot error.jpg

     

    Please also see below the screenshot you asked for:

    Power Automate Flow.PNG

     

     

    Happy to give more info if needed. Thanks

  • TomaszPoszytek Profile Picture
    170 Most Valuable Professional on at

    Everything looks fine. Could you simply create a new flow, just having the trigger and return actions to see if it works?

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 813

#2
Vish WR Profile Picture

Vish WR 302

#3
Haque Profile Picture

Haque 268

Last 30 days Overall leaderboard