web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard