Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
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.

  • CKdynamo Profile Picture
    3 on at
    Re: Parse Json Error

    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.

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Parse Json Error

    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!

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492