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

Parse Json Error

Hello Everyone,

I am trying to consume a Webservice through Http Connector in Flows.

 

Parse Json Input

json.PNG

While I try to Parse Json, I face this 

CKdynamo_0-1602225183356.png

 

Referred this Blog 

 https://blog.encodian.com/2019/09/fix-the-invalidtemplate-unable-to-process-template-language-expres...

Saved as a new flow as well as created new one ,but neither of them worked for me.

What am I doing Wrong. Any Help appreciated.

 

Thanks,

CK.

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @CKdynamo 

 

Based on the error, the parse json action is not getting an appropriate input and from the screenshot, I can see some XML elements in it. 

 

Can you share a screenshot of the flow? And check if the body being returned by the HTTP action is JSON formatted? 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi @yashag2255

 

I get this as a response in Body from HTTP.

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">{"SessionStatus":{"SessionStatus":[{"RunStatus":"True","SessionID":"3953"}]},"W... TRADERS","CSAShipAddress1":"Shamal Estate Yogeshwar Warehouse","CSAShipAddress2":"compound Behind Forest Dept","CSAShipAddress3":"","CSAStateGuid":"b825c895-e880-e711-80ee-00155d011814"}]}}</string>

 

which is supposedly in xml.

 

How can i convert this to Json formatted.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,061)