Skip to content

[apps] Adaptive Card Submit Invoke Error (Unable to reach app. Please try again.) #368

@mstewio

Description

@mstewio

Opening a new issue for visibility, but I believe this issue was for the same bug.

Here are some excerpts from my code:

const issueResponseCard = new AdaptiveCard( new TextBlock('How would you like to proceed?', { weight: 'Bolder' }), new ActionSet( new ExecuteAction({ title: 'Submit a Pull Request' }) .withData({ action: 'create_pr' }) .withAssociatedInputs('auto') .withStyle('positive'),

switch (data.action) { case 'create_pr': await send(new AdaptiveCard( new TextBlock('Review Pull Request', { size: 'Large', weight: 'Bolder', }),

Even if i copy the test case from tests > cards > src > index.ts#352 I still get the error. If I drop a break point right after app.on('card.action', async ({ activity, send }) => { it doesn't hit.

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions