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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans