Skip to content

Carousel Issue #540

@CLNELATU

Description

@CLNELATU

I have a adaptive card with version 1.6 which has suggested actions. It is printing fine at client side when we use the context.SendActivity(IActivity).

But the Adaptive card with version 1.6 having carousel type and a page inside is not being sent to client and I am getting the below error at context.SendActivity(IActivity).

Microsoft.Bot.Schema.ErrorResponseException: Operation returned an invalid status code 'BadRequest'

Can anyone help on this......

this is the sample adaptive json:

{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6",
"body": [
{
"type": "Carousel",
"rtl": false,
"pages": [
{
"type": "CarouselPage",
"rtl": false,
"items": [
{
"type": "TextBlock",
"text": "Page 1",
"wrap": true
}
]
},
{
"type": "CarouselPage",
"rtl": false,
"items": [
{
"type": "TextBlock",
"text": "page 2",
"wrap": true
}
]
}
]
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions