Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Flow fails at creating HTML file

(0) ShareShare
ReportReport
Posted on by 1,623

Hi

I cant remember making any changes, but my flow is failing when I now run it from via PowerApps and this is the error message i get:

 

{
 "error": {
 "code": 400,
 "source": "flow---------------",
 "clientRequestId": "--------------------------",
 "message": "The response is not in a JSON format.",
 "innerError": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">\r\n<HTML><HEAD><TITLE>Bad Request</TITLE>\r\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html; charset=us-ascii\"></HEAD>\r\n<BODY><h2>Bad Request - Request Too Long</h2>\r\n<hr><p>HTTP Error 400. The size of the request headers is too long.</p>\r\n</BODY></HTML>\r\n"
 }
}

 

I dont know what this means any help will be appreciated? 

  • Verified answer
    Lefty Profile Picture
    1,623 on at
    Re: Flow fails at creating HTML file

    school boy error

     

    i had the variables the wrong way wrong, so the HTML was in the name of the file and the name of the file was in HTML

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1