Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

while invoking REST API in gen3 throwing oracle.cloud.connector.api.CloudInvocationException

edited Sep 29, 2024 4:45PM in Integration 9 comments

The REST API was working as expected in OIC Gen2 even via postman it is also working but when I try to achieve the same in OIC Gen3 then it is causing issue and throwing the below error

oracle.cloud.connector.api.CloudInvocationException

CloudInvocationException [ Fault Details :
<ns0:APIInvocationError xmlns:ns0="http://xmlns.oracle.com/cloud/generic/rest/fault/REST/process">ns0:title/ns0:errorCode/ns0:typehttp://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.3</ns0:type>Bad Gateway</ns0:title>ns0:errorCode502</ns0:errorCode><![CDATA[InboundJaxrsResponse{context=ClientResponse{method=POST, uri=https://apis-uat.lab.technipenergies.com/techno/salesforce/upsert, status=502, reason=Bad Gateway}}]]></ns0:errorPath>ns0:instance<![CDATA[{"error":{"code":"NoResponse","message":"The server did not receive a response from an upstream server. Request tracking id '08584742808334060834317880368CU00'."}}.The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server. There could be several reasons including 1) The domain name not resolvable, 2) The origin server is down, 3) A firewall or another intermediary blocks the request. Try to replicate the same request using the same set of intermediaries using cURL or any other REST client. You can trace

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!