Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

400-error & BadRequest

(0) ShareShare
ReportReport
Posted on by 3

The flow build and used for more than 2 year without any error, these issues happen yesterday and I have searching all over the places for a solution. Please help:

 

Victoriamm38_1-1670543248786.png

 

Victoriamm38_0-1670543183058.png

 

Output - Body: 

{
  "error": {
    "code"400,
    "source""asia-001.azure-apim.net",
    "clientRequestId""04f7370e-a6b3-4150-bc63-2cd6058b3162",
    "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"
  }
}
 
Outout - Header: 
{
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""true",
  "x-ms-apihub-obo""false",
  "Date""Thu, 08 Dec 2022 09:28:07 GMT",
  "Content-Length""592",
  "Content-Type""application/json"
}

 

  • Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: 400-error & BadRequest

    Hi @Victoriamm38,

     

    Yes, that looks like a pretty simple setup. The error suggests something is wrong with the When a file is created action. Couple of follow-up questions.

     

    Have you checked the connection, is it still ok? Which folder did you use in the trigger action. The root?

     

    Have you configured a trigger condition in the settings of the trigger action? If so, can you share that expression?

  • Victoria_mm38 Profile Picture
    3 on at
    Re: 400-error & BadRequest

    Hi @Expiscornovus ,

     

    My flows is very simple:

     

    Victoriamm38_0-1670608450576.png

    It shown the error message like following:

     

    Victoriamm38_1-1670608577755.png

    Since it happen my flows never triggered and run whenever a file is uploaded into the onedrive folder.

     

    Please help.

     

    Thank you!

  • Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: 400-error & BadRequest

    Hi @Victoriamm38,

     

    Can you share a bit more information about your setup? For example, which action is showing the error and what connector are you using?

     

    Are you by any chance using a ToDoIst action/connector in your setup?

     

    Recently I saw a similar thread about that on these forums:

    https://powerusers.microsoft.com/t5/Using-Flows/Todoist-Flows-Failing-JSON-Errors/m-p/1911832

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow