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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,813)