web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / "HTTP Request" node - ...
Copilot Studio
Suggested Answer

"HTTP Request" node - wroking with GZIP Compressed Responses/ increase supported response size

(0) ShareShare
ReportReport
Posted on by

Background

I’m currently working on integrating my API with Copilot Studio, but I am facing a challenge related to the size of the responses.

My API returns a relatively large dataset: the uncompressed response size is about 800KB, however when compressed it is about  30KB.

The problem

Copilot Studio seems to limit the response size (50K?) which is why I added "Accept-Encoding: gzip, inflate" to the request's header.

When triggering the HTTP request node, I'm getting the following error:

Error Message: HTTP action with id 'Ku8yD8' got an invalid response body back from the endpoint Error Code: HttpRequestInvalidResponseBody Conversation Id: ddbaa25c-6756-432a-bf90-a391d0bc3641 Time (UTC): 2025-01-02T17:14:22.863Z

When I omit  the accept-Encoding header, I'm getting the following error:

Error Message: The output returned from the connector was too large to be handled by the agent. Try reducing its size by utilizing available connector filters or by limiting the number of configured action outputs. Error Code: AsyncResponsePayloadTooLarge Conversation Id: e63a0b76-4d81-47e4-a889-143fb1153b3e Time (UTC): 2025-01-02T17:59:10.460Z

What do I need to resolve this?

I either need a way to set CoPilot Studio to accept a larger responses, or to make it support gzipped response, like most HTTP clients do, or, maybe there is another path. 

Limiting the response size to such a small limit while not supporting gzip doesn't make sense for a real world application and I'm hoping there is a solution out there.

Clarification
1. The same integration works fine with my servers when the response is relatively small.

2. Significantly limiting my own server responses size to 50K is not a good option for me.

Any advice or recommendations on how to proceed with this integration would be greatly appreciated!

Thanks in advance!

I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Moderator on at
    Hello,
     
    if you've encountered a limit, then generally it's not possible to bypass this, especially when it comes to MS enforced limits. The same goes for Power Automate. The only option to overcome this is as you've said - you need to chunk the response. You can try out using Power Automate to call the endpoint, maybe the limits are higher?
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 131

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 36 Super User 2026 Season 1

Last 30 days Overall leaderboard