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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

An unexpected 'StartObject' node was found for property named 'ds_JSONinput' when reading from the JSON reader. A 'PrimitiveValue' node was expected.

(0) ShareShare
ReportReport
Posted on by 5

Dear All , 

we are using D365 custom APi . we are using one request parameter (string) and plugin to desrialize and write data in the CRM . 

when am sending the JSON from Postman am getting the error given below.

Postman request is : 

{
    "ds_JSONinput"
[
        {
        "Name""Krishna_ Claims_Test 6",
        "Quarter"930760001,
        "Coveraffected"930760014,
        "uwyearaffected"930760023,
        "BeginningReserves"150
      
        }
    ]
}
 
Error getting is : 
 An unexpected 'StartObject' node was found for property named 'ds_JSONinput' when reading from the JSON reader. A 'PrimitiveValue' node was expected.\r\n   at Microsoft.OData.JsonLight.
i have tried to verify from console application and given the JSON input as below and code is working .
JSON input to console ,
string jsonPayload = @"
            [
                {
                    ""Name"": ""Krishna_Claims_veladi"",
                    ""Quarter"": {
                        ""Value"": 930760001
                    },
                    ""CoverAffected"": {
                        ""Value"": 930760014
                    },
                    ""UWYearAffected"": {
                        ""Value"": 930760023
                    },
                    ""BeginningReserves"": {
                        ""Value"": 150,
                        ""Currency"": ""USD""
                    }
                },
                {
                    ""Name"": ""Krishna_Claims_Sandila"",
                    ""Quarter"": {
                        ""Value"": 930760001
                    },
                    ""CoverAffected"": {
                        ""Value"": 930760014
                    },
                    ""UWYearAffected"": {
                        ""Value"": 930760023
                    },
                    ""BeginningReserves"": {
                        ""Value"": 200,
                        ""Currency"": ""USD""
                    }
                }
            ]";
Kindly suggest . thanks 
I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Try to use the stringified version of your ojbect:

    {

       "ds_JSONinput":  "[{""Name"":""Krishna_ Claims_Test 6"",""Quarter"":930760001,""Coveraffected"":930760014,""uwyearaffected"":930760023,""BeginningReserves"":150}]"

    }

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 161 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans