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 / JSON Error when trying...
Power Automate
Unanswered

JSON Error when trying to create a Microsoft Project for the Web from a Microsoft Forms submission

(0) ShareShare
ReportReport
Posted on by 26

I am trying to create a new project task whenever an MSForm has been submitted. However, it is failing due to a "The response is not in a JSON format." error.  Here is my flow:

slmacche_0-1683572252801.png

 

slmacche_1-1683572252805.png

Here is what is returned from the Create Project step

slmacche_2-1683572351839.pngslmacche_3-1683572393353.png

 

Body

{
  "error": {
    "code"302,
    "source""flow-apim-msmanaged-na-eastus2-01.azure-apim.net",
    "clientRequestId""916d51c2-ce60-4c93-8e1d-bae6a81cd802",
    "message""The response is not in a JSON format.",
    "innerError""Cannot read server response."
  }
}
 

Headers

{
  "Pragma""no-cache",
  "client-request-id""41a8eefc-13f5-4168-86a1-71249c7fdda4",
  "X-CorrelationId""41a8eefc-13f5-4168-86a1-71249c7fdda4",
  "X-Frame-Options""DENY",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""false",
  "x-ms-apihub-obo""false",
  "Cache-Control""no-store, no-cache",
  "Date""Mon, 08 May 2023 18:47:53 GMT",
  "Location""/uncg.edu/en-US",
  "Content-Length""279",
  "Content-Type""application/json"
}
 
Raw Outputs
{
    "statusCode"302,
    "headers": {
        "Pragma""no-cache",
        "client-request-id""41a8eefc-13f5-4168-86a1-71249c7fdda4",
        "X-CorrelationId""41a8eefc-13f5-4168-86a1-71249c7fdda4",
        "X-Frame-Options""DENY",
        "Timing-Allow-Origin""*",
        "x-ms-apihub-cached-response""false",
        "x-ms-apihub-obo""false",
        "Cache-Control""no-store, no-cache",
        "Date""Mon, 08 May 2023 18:47:53 GMT",
        "Location""/uncg.edu/en-US",
        "Content-Length""279",
        "Content-Type""application/json"
    },
    "body": {
        "error": {
            "code"302,
            "source""flow-apim-msmanaged-na-eastus2-01.azure-apim.net",
            "clientRequestId""916d51c2-ce60-4c93-8e1d-bae6a81cd802",
            "message""The response is not in a JSON format.",
            "innerError""Cannot read server response."
        }
    }
}
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,801 Most Valuable Professional on at

    Hi @slmacche,

     

    Haven't got a Project Online instance to check. But this might be a case of an invalid character used in a task name. Are you nowadays allowed to use a + character in a task name?

     

    Can you double check if you are allowed to create a task with exactly the same name in the interface?

     

    Back in my Project Server days this was a type of character I was always trying to avoid in task names 😁:

    https://social.technet.microsoft.com/Forums/en-US/c41a17c9-451d-450b-bd74-6adf61f97625/special-character-in-project-name-dash-underscore?forum=projectonline

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard