Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

Error when passing to a flow

(0) ShareShare
ReportReport
Posted on by 1,145

Hi,

 

Creating my 1st bot and attempting to integrate with a new flow

All are strings

Error message when I test the bot inside the edit screen is

 

failed to run with response code ‘BadRequest’, error code: TriggerInputSchemaMismatch. 

 

Thanks in advance for any assistance

 

Todd

Tango_0-1686379157282.png

Tango_1-1686379221572.png

 

 

Categories:
  • YassineI Profile Picture
    YassineI 55 on at
    Re: Error when passing to a flow

    Is it possible that some of the fields are optional? If so, when the user does not give an input for these values, the variable remains empty and the flow power automate expects a value (even if you have configured the value as optional on the power automate side).

    The trick is to have a condition in Power Virtual Agent which will evaluate the value of these variables and replace them with something if isBlank (0, NA, nihil, no value, etc).

     

    YassineI_0-1688714671312.png

    I hope it helps!

    Kr, 

  • Re: Error when passing to a flow

    I've not seen this before.  Have you tried the "refresh" option on the flow action in the Power Virtual Agents UI so it can resync the called flow?  Is there any additional error information provided?  Note that the only tickets I've seen with this error seem to indicate one of the fields was supposed to be a string, but was instead actually empty/a null and it was causing the error.

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard

Featured topics