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 / Power Automate / The response is not in...
Power Automate
Unanswered

The response is not in a JSON format.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow that I've been using for over a year that just stopped working yesterday. 

 

the error details say: The response is not in a JSON format.

 

Please help!

 
Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Can you provide additional details?

    Have you re-saved the Flow?

    Are there connection issues?  If so, have you tried to fix them?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am having troubles also with me JSON format.

    I am trying to get an attachment from my forms to a sharepoint using power automate.

    But it not working because of the same mistake here:The response is not in a JSON format.

    Can anybody help me?

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Please post a screen shot of your Flow (the more detail the better) and I'll try to assist.

     

  • RMS_MP Profile Picture
    6 on at

    On the "Mark as read or unread (v3), I'm now getting the below error.

     

    {
      "error": {
        "code"404,
        "source""flow-apim-msmanaged-na-centralus-01.azure-apim.net",
        "clientRequestId""26f6558b-dc70-462f-8ba8-9ed4079bbee5",
        "message""The response is not in a JSON format.",
        "innerError""<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>404 - File or directory not found.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n  <h2>404 - File or directory not found.</h2>\r\n  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n"
      }
    }
  • DavidOni Profile Picture
    10 on at

    I put it in the template document as words that I want to be replaced in square brackets [] as I saw in the example: https://blog.encodian.com/2020/05/populate-a-word-or-pdf-document-using -power-automate / Does the document word have to be capitalized? the text it will replace is dynamic data collected from excel forms and tables. When the stream is displayed the following error: The response is not in JSON format.

  • DavidOni Profile Picture
    10 on at

    I got it, solved my problem, went to the encodian website, changed the API key, updated the data connection menu in power automate.

  • DavidOni Profile Picture
    10 on at

    no need to put a bracket, he searches for words and exchanges for others, simple

  • ulanbator Profile Picture
    6 on at

    that has done it for me. Thx!

  • Joeygreco Profile Picture
    6 on at

    I'm getting the same error on what should be a pretty simple job. Trying to email anyone that submits a response via MS Forms with an email that contains a unique ID:

    Joeygreco_0-1678307017924.png

    {"statusCode":502,"headers":{"X-Cache":"CONFIG_NOCACHE","X-MSEdge-Ref":"Ref A: 5CE39B9F16884549B3FAAEC33FE64B84 Ref B: BLUEDGE1716 Ref C: 2023-03-08T20:20:05Z","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"false","x-ms-apihub-obo":"false","retry-after":"3600","Date":"Wed, 08 Mar 2023 20:20:04 GMT","Content-Length":"256","Content-Type":"application/json"},"body":{"error":{"code":502,"source":"canada-001.azure-apim.net","clientRequestId":"04a244e2-9b9a-457b-93f3-0af2f738d333","message":"The response is not in a JSON format.","innerError":"Cannot read server response."}}}

     

  • Joeygreco Profile Picture
    6 on at

    @ScottShearer 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 412

#2
Vish WR Profile Picture

Vish WR 305

#3
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

Last 30 days Overall leaderboard