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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

error 'ownerid'?

(0) ShareShare
ReportReport
Posted on by 15

Hello,

My collegue received an error, yesterday he didn't had a problem with making a new appointment, today this error:

I didn't change anything between yesterdag and today??

An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'ownerid' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values. at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadUndeclaredProperty(IODataJsonLightReaderResourceState resourceState, String propertyName, Boolean propertyWithValue) at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadPropertyWithoutValue(IODataJsonLightReaderResourceState resourceState, String propertyName) at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.<>c__DisplayClass9_0.<ReadResourceContent>b__0(PropertyParsingResult propertyParsingResult, String propertyName) at Microsoft.OData.JsonLight.ODataJsonLightDeserializer.ProcessProperty(PropertyAndAnnotationCollector propertyAndAnnotationCollector, Func`2 readPropertyAnnotationValue, Action`2 handleProperty) at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadResourceContent(IODataJsonLightReaderResourceState resourceState) at Microsoft.OData.JsonLight.ODataJsonLightReader.StartReadingResource() at Microsoft.OData.JsonLight.ODataJsonLightReader.ReadResourceSetItemStart(PropertyAndAnnotationCollector propertyAndAnnotationCollector, SelectedPropertiesNode selectedProperties) at Microsoft.OData.JsonLight.ODataJsonLightReader.ReadAtStartImplementationSynchronously(PropertyAndAnnotationCollector propertyAndAnnotationCollector) at Microsoft.OData.ODataReaderCore.ReadImplementation() at Microsoft.OData.ODataReaderCore.InterceptException[T](Func`1 action) at System.Web.OData.Formatter.Deserialization.ODataReaderExtensions.ReadResourceOrResourceSet(ODataReader reader) at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.ReadEntry(ODataDeserializerContext readContext, ODataParameterReader reader, IEdmOperationParameter parameter) at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext) at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: error 'ownerid'?

    Hi ElsDB,

    Most of the times this error will come because of mismatch in field schema name.

    You can refer following link:

    Microsoft Dynamic CRM: An undeclared property 'ccs_quoteid' which only has property annotations in the payload but no property value was found in the payload. (vjcity.blogspot.com)

    Set Lookups in Xrm.WebApi D365 v9 correctly. Solving ‘Undeclared Property’ error | D365 Demystified

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • ElsDB Profile Picture
    15 on at
    RE: error 'ownerid'?

    Hello,

    thank you for your answer.

    i didn't do anything in the solution, but today there's no problem anymore.

    Kind regards

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: error 'ownerid'?

    Hey dude, I don't know if you got a solution, but I had the same problem in Portals WebAPI.

    The solution was add the two fields in the Webapi fields configuration 'xxx_ContactId' and 'xxx_contactid'. The first one is to send a POST message in a create record request where the contact is a related, like "xxx_ContactId@odata.bind": "/contacts(<guid>)" and the second one is to a GET message request.

    Maybe your problem was that reference "ownerid" wasn't capitalized, like "OwnerId".

    Hope this help someone!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 42 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 35

#3
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans