Skip to main content


Calling Actions from Copilot Studio

Error when passing to a flow

Posted on by 7



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







  • 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).



    I hope it helps!


  • 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…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,997

Expiscornovus Profile Picture

Expiscornovus 1,708


Featured topics