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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

OData web service has errors when adding from version 16

(0) ShareShare
ReportReport
Posted on by 150

I am trying to use the OData web service to connect to the tenant from an application, something I have done before, but it's getting errors when using the URL from a recently updated version 16 tenant.

URL I am adding: 

https://api.businesscentral.dynamics.com/v1.0/[TENAND_ID_HERE]/ODataV3

Errors I get after adding it to Visual Studio:

Error	1	Custom tool error: Schema specified is not valid. Errors: 
(0,0) : error 0005: The 'Name' attribute is invalid - The value '_x003C_Document_No_Simple_Page_x003E_' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
(0,0) : error 0005: The 'Name' attribute is invalid - The value '_x003C_CurrentPostingDate_x003E_' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
(0,0) : error 0005: The 'Name' attribute is invalid - The value '_x003C_CurrentCurrencyCode_x003E_' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
(0,0) : error 0005: The 'Name' attribute is invalid - The value '_x003C_Document_Exchange_Status_x003E_' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.	

Any ideas?

  • SSDev1 Profile Picture
    150 on at

    Anyone have any ideas? Is it a new bug?

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    If  you do not get further traction on this issue, you may want to raise this issue to Microsoft via a support ticket to be created via your CSP / Dynamics partner.

    However, we currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

    Thanks.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans