Universal adapter of type ConnectALL API Provider validating "fields" before applying transformation
search cancel

Universal adapter of type ConnectALL API Provider validating "fields" before applying transformation

book

Article ID: 371302

calendar_today

Updated On:

Products

ConnectALL ConnectAll On-Prem

Issue/Introduction

Universal adapter of type ConnectALL API Provider is validating to ensure there is "fields" JSON object available on the initial request. 

Steps to Reproduce: 

  1. Create a Universal Adapter of type ConnectALL API Provider.
  2. Navigate to Configuration screen
  3. Click on 'Request Spec Config' for SAVE RECORD as outlined in UA > Save Record
  4. Enter Input Payload and write Transformation Spec
  5. Send the input via postman ( POST - {connectall-url}/connectall/api/2/postRecord?apikey={apiKey}&appLinkName=TestAutomation) for the automation associated with the UA(see screen capture below), it throws error 'Missing required input(s) : fields'


Expected Results: 

The validation needs to happen post transformation based on the spec.


Actual Results:

Validation happens before transformation, and returns an error response saying "Missing mandatory "fields" in payload"

 

Environment

3.4.0

Cause

DE116033

Resolution

DE116033 resolved in 3.6.0 and ported back to 3.5.0.1 patch