Rest api response payload does not include streamReference
(Doc ID 2969599.1)
Last updated on SEPTEMBER 12, 2023
Applies to:
Oracle Integration-OIC - Version 21.2.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
User has configured a rest adapter activity to receive a binary content in response from an external rest api call.
User has rest adapter activity which has response payload format as binary with media-type: application/octet-stream.
Example generated curl by OIC rest adapter activity :
-H "Authorization: [authorization-value]" \
-H "Accept: application/octet-stream"
In the integration flow, 200 OK is received in the response with all the headers e.g. 'Content-Disposition'.
There is no error.
Issue is no streamReference available in the response payload.
Also when trying to execute encodeReferenceToBase64( string( streamReference)) it returns that its an empty string argument indicating nothing returned in streamReference object.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |