Skip to main content

Notifications

Announcements

No record found.

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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans