rveachkc / pymsteams

Format messages and post to Microsoft Teams.
https://pypi.org/project/pymsteams/
Apache License 2.0
422 stars 78 forks source link

HttpPost request from Teams on pymsteams.potentialaction is empty #89

Closed tillsteinbach closed 2 years ago

tillsteinbach commented 3 years ago

When executing the Potential Action from MS teams the request does not contain any content in the POST (content-length 0)

rveachkc commented 3 years ago

There's not enough information here to help. Can you provide more information, like the code you are using to generate the message and the output of the connector card using printer? https://github.com/rveachkc/pymsteams/blob/master/pymsteams/__init__.py#L202

On Fri, Mar 19, 2021, 5:56 AM Till Steinbach @.***> wrote:

When executing the Potential Action from MS teams the request does not contain any content in the POST (content-length 0)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rveachkc/pymsteams/issues/89, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXLSLL447KPDJEJDLREW7LTEMUXJANCNFSM4ZORXQDA .

tillsteinbach commented 3 years ago

I have to provide a minimum sample, need to find time for that. But for now I think the problem is that the body is empty. it is missing something like "id={{id.value}}" or an equivalent in json. If the Idea is that the body should be provided by the developer through the action itself it would make sense to make that an argument to addPotentialAction.

rveachkc commented 2 years ago

I was waiting on input for this, but I suspect it was resolved by #103.