For more information, please refer to this announcement explaining best practices for getting answers to questions.
Enable rest api call to call integrations through OAuth connection
Summary:
Currently, Using an integration to update lookup table, but OAuth connection is throwing a 401 error. The connection tested successfully but still I see this while running the integration.
Content (please ensure you mask any confidential information):
<ns0:errorPath><![CDATA[InboundJaxrsResponse{context=ClientResponse{method=PUT, uri=https://xxxxxxxxxxxxxxx.ocp.oraclecloud.com/ic/api/integration/v1/lookups/Timezone?integrationInstance=xxxx, status=401, reason=Unauthorized}}]]></ns0:errorPath>
<ns0:instance><![CDATA[{
"code" : "NotAuthenticated",
"message" : "The required information to complete authentication was not provided or was incorrect."
}.The 401 error message is usually returned by services that requires user credentials. So if you have got this error then it pobably means you entered an invalid username or password. It may also be that one of the intermediaries (proxy, LBR) could be returning this code. Please note, test connection doesn't validate the credentials and even if it is successful, it may not be sufficient. As the parameters defined within the connection page are used to call the target endpoint REST API, which is configured as part of endpoint configuration, it is strongly recommended that the endpoint configuration that