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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 164 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans