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 Automate
Unanswered

Parse Json Error

(0) ShareShare
ReportReport
Posted on by 3

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-expressions-in-action-in-microsoft-flow/

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.

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

  • CKdynamo Profile Picture
    3 on at

    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"}]},"WebMethodOutputRows":{"WebMethodOutputRows":[{"CSACode":"0000021422","CSAGuid":"c3875bcf-e980-e711-80ee-00155d011814","CSAName":"CHANDAN 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.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 630

#2
Valantis Profile Picture

Valantis 420

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard