...
would return a 500-response code in case of Data Validation failure. This is in clear contradiction to the details mentioned in CPS Exceptions and REST APIs HTTP Response Codes documentation. This has been identified as a bug and was fixed in the following patch Fix "Create a node" and "Add List Elements" APIs response code · Gerrit Code Review.
...
- CPS Exceptions and REST APIs HTTP Response Codes
- 400 Bad Request - HTTP | MDN (mozilla.org)
- A good article explaining concept of dry-run: https://dx.apiture.com/docs/api/concepts/dry-runs/