XmlNodeConverter can only convert JSON that begins with an object.

DNS 1 Reputation point
2021-02-24T13:03:47.553+00:00

dear team getting following error while conveting json to xml .
used json decoder pipe line component.

error:
XmlNodeConverter can only convert JSON that begins with an object.

sampledata:-

[ {
"COMPID": "RGIL",
"EMP_ID": "1111"
},
{
"COMPID": "RGIL",
"EMP_ID": "2222"
}
]

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
349 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kamlesh Kumar 3,861 Reputation points
    2021-02-25T17:30:31.49+00:00

    Dear member,

    Thank you for posting your question on the Microsoft Q&A platform.

    I would suggest to check the below blog post written by Sandro. If this wouldn't help then let us know, we would love to help you.

    https://blog.sandro-pereira.com/2019/08/30/biztalk-json-schema-wizard-error-in-json-instance-file-xmlnodeconverter-can-only-convert-json-that-begins-with-an-object/

    Regards,
    Kamlesh Kumar

    2 people found this answer helpful.