Configured content-type is [application/json] but actual content-type is [text/html]
Summary:
Configured content-type is [application/json] but actual content-type is [text/html]
Content (please ensure you mask any confidential information):
I have a REST end point which return below response on POSTMAN:
{
"type": "text/csv",
"data": "QnVzaW5lc3NVbml0TmFtZTtSZWNlaXB0TWV0aG9kTmFtZTtSZWNlaXB0TnVtYmVyO2NydF90eXBlO3JlY2VpcHRkYXRlO2dsZGF0ZTtBbW91bnQ7Q3VzdG9tZXJOYW1lO0N1c3RvbWVyQWNjb3VudE51bWJlcjtDdXJyZW5jeUNvZGU7Q2x1YiBOdW1iZXI7RXhlcnAgSW52b2ljZSBJRDtQYXltZW50IFNvdXJjZQozMDAwMDAwMTExNDcxMjI7OzEwMj…………………."
}
The data is appearing in Base64 format. (I shortned the text.)
When configred in OIC with Response as JSON type I am getting below error:
============
<fault xmlns="http://xmlns.oracle.com/cloud/oic/gen3fault"><traceId>ee9e3c5090395235f8e6ab59df5ac79b</traceId><requestId>oci-0AB580348B9D442-202611121153/D981D6625D7781A29EA8F56A4A454404/97FCB603C36C452AB1F5CFA1BC56F5C0</requestId><errorId/><flowId>nS964t6PEfGsPeO4xXph-g</flowId><errorType>InternalError</errorType><origin>tech-adapters-64c5869d67-245gn</origin><errorCode>REST_RES_PLD_ERR</errorCode><faultName>ns0:APIInvocationError</faultName><retriable>false</retriable><reason><![CDATA[Target REST endpoint response payload processing failed.[[Fault Details :