cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Manuel13
New Member

PowerAutomate, Create a new task -->The response is not in a JSON format.

Hello,

 

I would like to create a new task in the planner directly from project.

Once I define the "Root Site URL" of my project and test the flow, I get following error message.

I tried to fix it but I'm lost...

 

Error details:

The response is not in a JSON format.

 

"error": {
    "code"404,
    "source""flow-apim-europe-001-westeurope-01.azure-apim.net",
    "clientRequestId""cdbad09c-412b-45a4-ad73-7c03eb3288d0",
    "message""The response is not in a JSON format.",
    "innerError""Cannot read server response."
 
Thank you:)
 
2 REPLIES 2
Johnnyg
Community Support
Community Support

Hi Manuel13

The 404 error usually represents connection authorization.  Could u share your error details regarding "Root Site URL" of project? You could also check whether your connection credentials have right access to the plan project.

Johnnyg_0-1643552412950.png

 

Best Regards,
Johnny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Johnny,

 

thanks for your feedback. The error details:

Manuel13_0-1643629390903.png

 

Headers:

{
  "Vary""Origin",
  "X-SharePointHealthScore""2",
  "SPRequestGuid""e8211ca0-f05b-c000-acf8-4e7e8a3b5dc9",
  "request-id""e8211ca0-f05b-c000-acf8-4e7e8a3b5dc9",
  "MS-CV""oBwh6FvwAMCs+E5+ijtdyQ.0",
  "Strict-Transport-Security""max-age=31536000",
  "X-FRAME-OPTIONS""SAMEORIGIN",
  "Content-Security-Policy""frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com;",
  "MicrosoftSharePointTeamServices""16.0.0.22112",
  "X-Content-Type-Options""nosniff",
  "X-MS-InvokeApp""1; RequireReadOnly",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""false",
  "x-ms-apihub-obo""true",
  "Cache-Control""max-age=0, private",
  "Date""Mon, 31 Jan 2022 11:42:37 GMT",
  "P3P""CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
  "X-AspNet-Version""4.0.30319",
  "X-Powered-By""ASP.NET",
  "Content-Length""280",
  "Content-Type""application/json",
  "Expires""Sun, 16 Jan 2022 11:42:38 GMT",
  "Last-Modified""Mon, 31 Jan 2022 11:42:38 GMT"
}

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,554)