OIC: Getting oracle.cloud.connector.api.CloudInvocationException while invoking REST API
We are using REST adapter to get some data using API. The endpoint for the API is working fine in postman but not in Oracle Integration Cloud (OIC) flow. We are using OIC Gen3 for the development and Bearer token is used for authorization for endpoint URL. The error received from integration flow is below:
{
"title" : "Internal Server Error",
"detail" : "",
"o:errorCode" : "",
"o:errorDetails" : [ {
"title" : "Not Found",
"o:errorCode" : "404",
"o:errorPath" : "<![CDATA[InboundJaxrsResponse{context=ClientResponse{method=POST, uri=<Endpoint>, status=404, reason=Not Found}}]]>",
"instance" : "<![CDATA[{\"code\":404,\"message\":\"Not Found\"}.The HTTP 404, 404 Not Found, and 404 error message is a Hypertext Transfer Protocol (HTTP) standard response code, in computer network communications, to indicate that the client was able to communicate with a given server, but the server could not find the resource that was requested. Carefully re-examine the target endpoint that is being called. ]]>"