MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
288 stars 511 forks source link

HTTP error 400 #3571

Closed endiom closed 3 years ago

endiom commented 3 years ago

"INCstring(215) "Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 400 with ContextId tcid=0,server=msgapi-production-wuk-azsc6-1-44,cv=Bsl8E+rFTkyPhteKHUmpOQ.0,MS-CV=Bsl8E+rFTkyPhteKHUmpOQ.0.."

loading data from json as $str to an ActionCard

"sections": [ { "activityTitle": "text", "facts": $str, "text": $text }

Once the records are too many the error occurred (screenshot of json), is there a maximum length for attribute "facts"? How to get rid of it?

image

ghost commented 3 years ago

Hi endiom! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Ravindra-MSFT commented 3 years ago

HI @endiom Could you please provide JSON file. So that I can repro from my end and come back to you.

endiom commented 3 years ago

imooc.txt Could not upload .json so rename to *.txt

64"INCstring(215) "Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 400 with ContextId tcid=0,server=msgapi-production-wuk-azsc6-2-34,cv=YLGCG9x1ZECkceTLTHjMPA.0,MS-CV=YLGCG9x1ZECkceTLTHjMPA.0.."

If I deleted some records, make it less it works.

Ravindra-MSFT commented 3 years ago

Hi @endiom There is a Limit of conversation size in Teams Channel. Make sure that you can send a card size not more than 28KB approximately. You can also go through the docs of limitation for you reference

image

endiom commented 3 years ago

noted and thanks. btw the post size should be extended as html, css, or rich text that are literally count. Hope we can reach to that point in future.

ghost commented 3 years ago

Tell us about your experience!

Hi endiom! This issue is closed in our system. We would like your feedback on your experience with our support team and Platform.

Best regards, Teams Platform