Oracle Integration · REST Adapter invoke
APIInvocationError
Short answer
APIInvocationError 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.
VerifiedLast verified
01Error text
APIInvocationError02Likely causes
- Any HTTP response with an error code.
- A processing error while the adapter prepares the request, calls the endpoint, or handles the response.
- A response other than the configured response type, even another success code.
03How to fix it
- Handle the APIInvocationError with a fault handler in the integration. The
errorDetailssection contains the actual cause. - Catch it with a scope action and fault handler if the fault is not needed.
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.
- Can not deserialize instance of java.util.ArrayList out of START_OBJECT tokenThis 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" ].
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