After upgrading CDA from v12 to v24, REST API requests to create a new package fail with a 400 Bad Request error despite using the same URI and request content .
ERROR MESSAGE:
"error": "The argument(s) cannot be null: package Parameter"
SYMPTOMS:
REST API POST requests to /api/data/v1/packages fail ․
Validation via cURL commands works successfully ․
CDA Version: 24․4․2
WebServiceRest Version: 4․6․13+build․1720618814644
DE182013
A problem was fixed on the Automic Automation / REST Agent Integration where, in some cases, the target REST API (a.e. if working on CDA REST API) failed to respond correctly if on a POST request json data was passed as with direct input. This was fixed by passing data as a byte array instead.
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Integration Rest 24.2.0