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

Messaging Endpoint Form Payload Issue #1031

Open
Bytezart opened this issue Nov 7, 2023 Discussed in #1030 · 8 comments
Open

Messaging Endpoint Form Payload Issue #1031

Bytezart opened this issue Nov 7, 2023 Discussed in #1030 · 8 comments
Assignees
Labels
bug Something isn't working needs-attention platform-issue Teams JS issue

Comments

@Bytezart
Copy link

Bytezart commented Nov 7, 2023

Discussed in #1030

Originally posted by Bytezart November 7, 2023
I'm running into problems with the Azure Bot Service's messaging posts to the sampe TeamsMessagingExtensionSearch project. It appears as though I have the correct AppID's, Passwords and AppTypes set correctly. Specifically, the HTTP post the messaging endpoint doesn't appear to have any form data and is not being flagged as having a HasFormContentType by the runtime.

In the debugger screen shot below I'm sending a message through a Teams Channel for the Azure Bot Service.

Capture

@ChetanSharma-msft
Copy link
Collaborator

Hello @Bytezart - Thanks for raising your query.
Kindly share more information and sample code, if you have any, so that we can try to repro it.

@Bytezart
Copy link
Author

Bytezart commented Nov 8, 2023

Sure. Fortunately, and speaking to the code snippets, the code I'm using is unaltered from the main Microsoft-Teams-Sample main branch in the TeamsMessagingExtensionSearch project. Obviously, AppSettings were swapped out for my environment though.

As for the messaging integration flow: Teams Extension => Azure Bot (Teams Channel) => Microsoft Dev Tunnels => Visual Studio 2022.

To reproduce the issue I'm simply initiating an interaction with the Teams Search Extension which is ultimately causing a POSTto my running code as denoted below. In the debugger screenshot you can see the request's form post data is causing an exception preventing me from handling the request.

Capture

@BasetsanaNjody
Copy link

Feedback?

@Meghana-MSFT
Copy link

We are also able to repro this issue, we will check this internally and get back to you. Thank you.

@Bytezart
Copy link
Author

Please note that this issue did not prevent me in the end from running the application. I had other problems that made this appear to be the source of my problems but it was not. It does appear to be benign in nature.

@Meghana-MSFT
Copy link

We have raised a bug for this, we will update here once we have any update.

@BasetsanaNjody
Copy link

@Meghana-MSFT are you still unable to repro the issue? As I had asked for feedback 2 weeks ago!

@Meghana-MSFT
Copy link

We are also able to repro this issue, we will check this internally and get back to you. Thank you.

We already had a repro for this issue and raised a bug for the same.

@ChetanSharma-msft ChetanSharma-msft added the bug Something isn't working label Dec 18, 2023
@ChetanSharma-msft ChetanSharma-msft added the platform-issue Teams JS issue label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-attention platform-issue Teams JS issue
Projects
None yet
Development

No branches or pull requests

4 participants