OAuth Credentials for Rest API
SummaryOAuth Credentials for Lookup Rest API
I am using Rest connection to update Lookup. Rest API is configured with OAuth credentials. using the scope urn:opc:resource:consumer::all. Connection Test is successful. But the integration is failing with below error.
[CDATA[PUT https://OIChost.ocp.oraclecloud.com:443/ic/api/integration/v1/lookups/lookupName returned a response status of 403 Forbidden]]></ns2:errorPath>
<ns2:instance><![CDATA[Access denied.403 error (forbidden), usually implies a lack of permissions to access the API. You might be required to consult the target API documentation or work with the owner/administrator to resolve this issue. There may be several conditions leading to this, but the exact cause is best described by the target service authorization server. Some probable causes of 403 errors are as follows: (i) The current user is not authorized to access the resources, (ii) The access token was procured for a scope that does not cover the API being accessed, (iii) The access token expired or is not valid