1
votes

Tried using the new adaptive cards feature in Teams that is supposedly live in Flow. Copied the JSON from the Adaptive Card builder online, replaced some strings with string responses from a Form hook. Don't see any reason why I would be seeing this error:

"error": {
  "code": "MissingOrInvalidBotAdaptiveCardRequest",
  "message": "The specified Teams flowbot adaptive card request is missing or invalid."
}

I have the flow bot enabled in the team and channel that I want the card to display in. I can't figure out what's gone wrong. Everything is entered as a string, right? It would be nice if they updated the documentation on both adaptive card posts and mentions in the Flow/Teams documentation. I'm happy to clarify, I just don't know what to include.

1
Could you add the adaptive card JSON? - Andrew Clear
too long. I've tried it with and without the "contentType": "application...card.adaptive","content": {" wrapped around it. Still get the same error - Daniel Padia
@DanielPadia - Could you please try posting your Adaptive card JSON using App Studio? - Wajeed-MSFT
I copied the exact JSON provided from the example in documentation and got the same error message. - Daniel Padia
The documentation you linked to is an example for using a Bot Framework bot with MS Teams. Have you tried a dead simple adaptive card through the Flow connector? Something like: docs.microsoft.com/en-us/adaptive-cards/getting-started/… - Andrew Clear

1 Answers

0
votes

My employer had not granted the permissions Flow needed in Teams. Once that was resolved and I fixed a syntax issue, everything worked out fine. Flow is annoying in that it gives the same error whether you don't have permission or there's a syntax/schema problem in your post. It's ridiculous.