Options
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
Error response in Visma.net ERP NeXtGen Sales Order API v3
12-01-2023
10:18
- 2 Replies
- 0 kudos
- 1742 Views
Question
We received a 400 Bad Request when using POST/api/v3/SalesOrders. How can I see what is the reason for this error?
Answer
When receiving a 400 Bad Request it include an error response body. This response body will indicate the reason for getting the error, looking like this:
Comments
15-02-2023
09:50
by
Trygve Storrønningen1
Will the structure of the JSON response be the same for all V3 endpoints and error situations, with details, errors, title, stauts, detail and instance?
05-04-2023
12:31
by
Cristian Gherghinescu
Yes, we will use the same structure for the error situations.
Of course, there might be edge cases that we might miss. When you find any of those let us know and we will apply the same structure.