Announcements
We have a flow configured with the "When Power Apps calls a flow (V2)" trigger, which sends a POST request to an external service using the HTTP action.
The POST request is sent to external service whose purpose is to execute custom queries against a PostgreSQL database and return the results back to Power Automate, which then passes them to the Power Apps application. When using the HTTP action in Power Automate, the following error is returned in response to the POST request:
BadRequest Http request failed as there is an error: 'Error while copying content to a stream.'
The request completes successfully when the response contains a very small dataset (approximately 15 records). However, the error occurs when the response contains a larger number of records.
We have been using this approach successfully for more than a year, and this issue only started occurring today.
We have a proven clue "the error occurs when the response contains a larger number of records." So, This error most commonly indicates that the HTTP network connection broke while the payload was actively transferring, or the payload size exceeded the platform's processing limits. Because it failed midway through streaming the data, the target server or application rejected the request as a BadRequest.
BadRequest.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 377
11manish 279
David_MA 234 Super User 2026 Season 1