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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

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

(1) ShareShare
ReportReport
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
I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    Hey User,
     
    Can you please use REST Builder from XRM Toolbox. And then test it once by providing input as lookup, also compare your request and REST builders request format.
     
    Thank you,
    Amit Katariya

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 143 Super User 2026 Season 1

#2
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans