Forum Discussion

JZR's avatar
JZR
New Member
8 years ago
Solved

expanding column error: JSON file/OData error

I am connecting Power Bi to Dynamics 365.  When I attempt to expand columns in the appointment entity, I receive the error below.  It does not matter which field I am attempting to expand or the which field I check off to include in the expansion.  This error does not occur for any other table or entity that I bring in.  Any guidance is appreciated!

 

First part of the error:  

Unexpected error: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written.
Details:
Microsoft.Mashup.Evaluator.Interface.ErrorException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written. ---> Microsoft.OData.Core.ODataException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written. ---> Microsoft.OData.Core.ODataException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written.
at Microsoft.OData.Core.Evaluation.ODataConventionalEntityMetadataBuilder.ComputeAndCacheId()

 

1 Reply