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 :
Finance | Project Operations, Human Resources, ...
Unanswered

ODATA Response Codes

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I've noticed a strange change in our response codes of the Dynamics ODATA API.

We are trying to create a tax exempt number, but the response codes are different per environment, see in the overview below.

  • DEV, Tier 1, error 400
  • TST, Tier 1, error 400
  • CONFIG, Tier 2, error 400
  • UAT, Tier 2, error 500
  • PRD, Production, error 500

We send the below data to the below URL:

[BASE URL]/data/VATNumTables

{
  "dataAreaId": "XXXX",
  "VATNum": "NL001.001ABC",
  "CountryRegionId": "NLD"
}

Yielding this error 500:

 

or error 400:

Now the 'VATNum' is wrong indeed. But this is why we expect a 400 error instead of a 500 (server) error.

Maybe important to note: UAT gave a 400 error, until PRD was move to UAT earlier this week. Could something in the configuration of Dynamics be a problem?

All environments are on the same version: 10.0.33.

On a final note, this issue is not only related to VATNumTables but also to CustomerBankAccounts

 

Hopefully I provided enough information, as we are a bit lost here.

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 802

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 636 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans