cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Dynamics 365 Microsoft.OData.ODataException

I have built a very simple Dynamics 365 Flow - when a lead record is created in one org create a new lead record in another org in the same tenant. System admin rights in both orgs.

 

This is the error.

 

{
"status": 400,
"message": "An error occurred while validating input parameters: Microsoft.OData.ODataException: Does not support untyped value in non-open type.\r\n at System.Web.OData.Formatter.Deserialization.DeserializationHelpers.ApplyProperty(ODataProperty property, IEdmStructuredTypeReference resourceType, Object resource, ODataDeserializerProvider deserializerProvider, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.Deserialization.ODataResourceDeserializer.ApplyStructuralProperties(Object resource, ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataEntityDeserializer.ApplyStructuralProperties(Object resource, ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.Deserialization.ODataResourceDeserializer.ReadResource(ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)",
"source": "XXXXXXX.crm.dynamics.com",
"errors": [],
"debugInfo": "clientRequestId: dfef65ad-d593-4f4f-a5a7-52b05611aabf"
}







Did I answer your question? Mark my post as a solution!


Proud to be a Flownaut!






2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @crminnovation,

 

Could you please share a screenshot of your flow's configuration?

 

The error message told that there is something wrong with the input parameters that you provided within the "When a record is created" trigger or the "Create a new record" action of your flow. You provided a unsupported untyped value in the non-open type field.

 

Please check if you have filled proper value within the "When a record is created" trigger or the "Create a new record" action. I have made a test on my side and don't have the issue that you mentioned.

 

Please also check and see if the following article would help in your scenario:

https://stackoverflow.com/questions/45948893/odata-v4-error-does-not-support-untyped-value-in-non-op...

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
priyank014
New Member

This error indicates that the json you are trying to post contains a property that does not exist on an entity.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (22,582)