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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 400-error & BadRequest
Power Automate
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"
}

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    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

     

  • Victoria_mm38 Profile Picture
    3 on at

    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
    33,189 Most Valuable Professional on at

    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?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard