Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carousel Issue #540

Open
CLNELATU opened this issue Feb 22, 2024 · 0 comments
Open

Carousel Issue #540

CLNELATU opened this issue Feb 22, 2024 · 0 comments
Labels

Comments

@CLNELATU
Copy link

CLNELATU commented Feb 22, 2024

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
}
]
}
]
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant