Skip to main content

Notifications

Copilot Studio - General
Unanswered

Posting an adaptive card to Teams with PVA::"code":"ApiVersionInvalid

Posted on by 2

It was working fine. Then it stopped working all of a sudden. Currently using Version 1.3 Bot Framework Adaptive Card72fb90b3f23c7d66295c23b41a0e7094.png

 
 

 

{
 "type": "AdaptiveCard",
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.3",
 "body": [
 {
 "type": "TextBlock",
 "text": "Ticket Form",
 "wrap": true,
 "horizontalAlignment": "Center",
 "fontType": "Default",
 "size": "ExtraLarge",
 "weight": "Bolder",
 "color": "Accent",
 "id": "Ticket"
 },
 {
 "type": "Input.Date",
 "id": "date",
 "isRequired": true,
 "errorMessage": "Please select a Date",
 "label": "Date"
 },
 {
 "type": "Input.Text",
 "placeholder": "Title of Ticket",
 "id": "title",
 "isRequired": true,
 "errorMessage": "Title of Ticket",
 "label": "Title"
 },
 {
 "type": "Input.ChoiceSet",
 "choices": [
 {
 "title": "HQ",
 "value": "HQ"
 },
 {
 "title": "7Mile",
 "value": "7Mile"
 },
 {
 "title": "Ferndale",
 "value": "Ferndale"
 },
 {
 "title": "Southfield",
 "value": "Southfield"
 },
 {
 "title": "Davison",
 "value": "Davison"
 },
 {
 "title": "Livernois",
 "value": "Livernois"
 },
 {
 "title": "NuWell Global",
 "value": "NuWell Global"
 },
 {
 "title": "Flatworld",
 "value": "Flatworld"
 }
 ],
 "placeholder": "Location",
 "id": "location",
 "isRequired": true,
 "errorMessage": "Select a Location",
 "label": "Location"
 },
 {
 "type": "Input.ChoiceSet",
 "choices": [
 {
 "title": "Low",
 "value": "Low"
 },
 {
 "title": "Normal",
 "value": "Normal"
 },
 {
 "title": "High",
 "value": "High"
 },
 {
 "title": "Emergency - Medical Equipment",
 "value": "Emergency"
 }
 ],
 "placeholder": "Priority Level",
 "id": "priority",
 "isRequired": true,
 "errorMessage": "What is the Priority",
 "label": "Priority Level"
 },
 {
 "type": "Input.Text",
 "placeholder": "Description of the Issue at hand",
 "id": "description",
 "isMultiline": true,
 "isRequired": true,
 "errorMessage": "Description of the problem",
 "label": "Description"
 },
 {
 "type": "ActionSet",
 "actions": [
 {
 "type": "Action.Submit",
 "title": "Submit Ticket",
 "style": "positive"
 }
 ],
 "id": "submit"
 }
 ],
 "verticalContentAlignment": "Top"
}

 

 

  • fernandosilva Profile Picture
    fernandosilva 681 on at
    Re: Posting an adaptive card to Teams with PVA::"code":"ApiVersionInvalid

    I guess if you just change manually to version 1.2 it will work fine.

     

    Microsoft has a weird way to update one thing and not the other and all get messed up without warning to the users.

  • brunoo9012 Profile Picture
    brunoo9012 2 on at
    Re: Posting an adaptive card to Teams with PVA::"code":"ApiVersionInvalid

    @epichs  @Expiscornovus 

    I am with similar problem. Actually I can run the flow through the Power Automate and open the forms with a new channel, but when I set up to flow to send the forms through the BOT channel appears the error below.

    Any suggestion?

     

    brunoo9012_0-1664762957315.jpeg

     

     

  • epichs Profile Picture
    epichs 2 on at
    Re: Posting an adaptive card to Teams with PVA::"code":"ApiVersionInvalid

    I'm having issues trying to post a ticket. It's saying My user account doesn't exist and cannot access the application.

    epichs_0-1664295984052.png

     

  • Expiscornovus Profile Picture
    Expiscornovus 1,708 on at
    Re: Posting an adaptive card to Teams with PVA::"code":"ApiVersionInvalid

    Hi @epichs,

     

    It looks like there is an issue with that specific action at the moment. I have seen a similar thread on the Power Automat forums.

     

    I can also reproduce the ApiVersionInvalid error by using the Candidate Feedback sample json in a Post an adaptive card and wait for the response action in a simple flow in my dev environment.

     

    I would suggest to contact Microsoft support for this:

    https://powerautomate.microsoft.com/en-us/support/

     

    reproduce_apiversioninvalid.png

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,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard