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

OAuth Credentials for Rest API

Accepted answer
37
Views
4
Comments
edited Apr 2, 2021 3:24PM in Integration 4 comments

Summary

OAuth Credentials for Lookup Rest API

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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