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

Error parsing and creating a JSON object | Power Automate Desktop

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!

 

 

0 REPLIES 0

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Users online (2,860)