AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

AdaptiveCards: Operation returned an invalid status code 'RequestEntityTooLarge'

Open vivekkranjan opened this issue 4 years ago • 8 comments

While sending message to bot via MS Teams, getting the error as 'Operation returned an invalid status code 'RequestEntityTooLarge'. I want to know what's the limit on size and is there any work around to send larger size adaptive card.

This error is not coming when I send the same adaptive card via emulator, however on Teams it throws error.

Client: Microsoft Bot Framework V3 SDK

vivekkranjan avatar Apr 22 '20 07:04 vivekkranjan

I have the same issue with V4 SDK.

ahmetkocadogan avatar Aug 11 '20 15:08 ahmetkocadogan

Sorry about the delay here folks. The limit for the entire attachment payload size is 25kb. I don't believe there is a workaround at this time, but I will send this note over the the Teams team to see if they can add additional context

matthidinger avatar Aug 11 '20 17:08 matthidinger

Hi, yes that's correct the attachment size is 25kb. We're looking to expand it beyond 25k for Q4CY20.

ojasvichoudhary avatar Aug 11 '20 17:08 ojasvichoudhary

Sorry about the delay here folks. The limit for the entire attachment payload size is 25kb. I don't believe there is a workaround at this time, but I will send this note over the the Teams team to see if they can add additional context

vivekkranjan avatar Aug 13 '20 19:08 vivekkranjan

I don't know but as per Case Id 19544055 from MSFT, they denied the card size limitation.

vivekkranjan avatar Aug 13 '20 19:08 vivekkranjan

Sorry about the delay here folks. The limit for the entire attachment payload size is 25kb. I don't believe there is a workaround at this time, but I will send this note over the the Teams team to see if they can add additional context

Could you check the Case Id 19544055 that is open for this case? MSFT says something.

vivekkranjan avatar Aug 13 '20 19:08 vivekkranjan

Hi Team,

We are also facing the same issue. We are sending adaptive card carousal which is getting build on dynamic data. because of that the attachment size getting too long sometime based on the data we are binding. So it is causing the same exception.

can you please check an provide solution on the same as soon as possible or any workaround for now till this Q4 update is given.

thanks and regards, Sujit Gaikwad

Sujit-Gaikwad avatar Nov 06 '20 12:11 Sujit-Gaikwad

@ojasvichoudhary Is there any update regarding this expansion of the attachment size?

cheeseypi avatar Mar 01 '21 21:03 cheeseypi