Oracle Integration · REST Adapter invoke
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
This Oracle Integration REST Adapter error means the sample JSON has only one array element, and the adapter needs at least two to generate a valid XML schema. Add a second element to the array in the sample JSON, for example "formInputs": [ "input1", "input2" ].
VerifiedLast verified
01Error text
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token02Likely causes
- The REST Adapter sample JSON has only one array element.
03How to fix it
- Add a second element to the array in the sample JSON, for example
"formInputs": [ "input1", "input2" ].
iNotes
Documented for a REST Adapter invoke connection that calls the JD Edwards Form Service.
04Official documentation
→Related errors
- ICS-10064: An error occurred while preparing mapper object. Invalid referenceICS-10064 in Oracle Integration appears when uploading an XML schema whose namespace prefix conflicts with the artifacts the REST Adapter generates. Change the prefix used in the uploaded schema. Do not use ns prefixes, which Oracle Integration uses internally during artifact generation.
- ORABPEL-15235: String length exceeds the maximum lengthThis ORABPEL-15235 error in Oracle Integration means a string field in a JSON payload exceeded 20 MB. Remodel the integration, for example write the file to an external SFTP server for processing outside Oracle Integration.
- APIInvocationErrorAPIInvocationError in Oracle Integration is the fault the REST Adapter raises for any HTTP error response or processing error on an outbound invoke. Handle the APIInvocationError with a fault handler in the integration. The errorDetails section contains the actual cause.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Oracle Integration work:Open Oracle Integration jobsOracle Integration rates and salaries