Symptom
You wish to create an Integration Center job to map a Moodle Workplace rest call response to SuccessFactors. The response is a JSON array and when Integration Center processes this response, it is failing with an error similar to:
Unable to format response payload due to 'com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.LinkedHashMap<java.lang.Object,java.lang.Object>` out of START_ARRAY token
at [Source: ….
Environment
- SAP SuccessFactors HXM Suite
- SAP SuccessFactors OData API
- SAP SuccessFactors Integration Center
Cause
Known limitation
Resolution
Integration Center only supports JSON objects (not arrays)
This is documented in our Integration Center Guide:
'Currently we only support one request and one response in a single transaction'
https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/60ba370328e0485797adde67aee846a0/12a768bdcf6448058e0e2faff83a9adb.html
Keywords
Unable to format response payload,'com.fasterxml.jackson.databind.exc.MismatchedInputException, Cannot deserialize instance, START_ARRAY token, Integration Center, array, Moodle Workplace , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , Problem