Question / Problem:
We get a error "400 - bad request" when trying to sync Master Data in NAV/D365BC
Answer / Solution:
If the API call for sending vendors from NAV to the ReadSoft Online API fails with a 400 Bad Request, the data sent is not valid (from ReadSoft Online’s point of view). This could be, for example:
- Suppliers missing supplier number
- Suppliers with same supplier number
- Suppliers missing name
When the ReadSoft Online API sends a 400 Bad Request, it also sends back information about exactly what’s wrong. However, the current NAV integration (created and maintained by Microsoft) does not show those details. You can debug the NAV code (or sniff the https traffic on your NAV server) and look at the full xml response to see all details returned.