Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

Error when passing to a flow

Posted on by 7

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 46 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.

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics