CDA REST API Create a new package. failing in V24.x
search cancel

CDA REST API Create a new package. failing in V24.x

book

Article ID: 430519

calendar_today

Updated On:

Products

CA Continuous Delivery Automation - Automation Engine

Issue/Introduction

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

  • Issue occurs specifically when using "Direct Input" for JSON content in the RA REST Agent

 

Environment

 

CDA Version: 24․4․2

WebServiceRest Version: 4․6․13+build․1720618814644

 

Cause

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.

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:

Component(s): Integration Rest 24.2.0