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 Platform Community / Forums / Power Automate / Error parsing and crea...
Power Automate
Unanswered

Error parsing and creating a JSON object | Power Automate Desktop

(1) ShareShare
ReportReport
Posted on by 19

I am trying to create a JSON object after reading the structure from a text file (UTF-8).

 

Here are my steps:

  • Read the text file to create a variable which contains the JSON string : {
    "name": "Joe Smith",
    "address": "1234 Main St"
    }
  • On using "Convert JSON to custom object" to convert the text in that variable to an object, I get the following error.

Robin.Core.ActionException: Unexpected character encountered while parsing value: G. Path '', line 0, position 0.
at Robin.Modules.Variables.Actions.ConvertJsonToCustomObject.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

Not sure what I am doing incorrect. Any suggestions?

 

Thanks a heap!

 

 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard