Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

Microsoft.OData.ODataException: Does not support untyped value in non-open type

Posted on by 20
Hello,
 
I am attempting to use the createRecord function to create an entity record with a lookup value for another entity.
 
The logical name of the entity for the lookup is "new_employee", and the navigation property is "new_employeeid".
 
 

When I invoke the createRecord function passing the object above I receive the error: Microsoft.OData.ODataException: Does not support untyped value in non-open type.



I understand that this error may occur if a property name is miss spelled. I can confirm that the navigation property is correct, and the schema name for "new_employeeid" is also lowercase. 

I have been successful using the createRecord function for other entities having the same type of lookup with the same navigation property name so it is unclear why it exclusively fails for one entity. 

Any assistance would be greatly appreciated. Please respond if anything about my problem is unclear.
 
Thank you,
 
Scott

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans