My Oracle Support Banner

Error Getting An Access Token To Access The Process Cloud Rest Api (Doc ID 2500699.1)

Last updated on JANUARY 14, 2020

Applies to:

Oracle Process Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Integration

On a Windows environment, when generating an access token to access the process cloud rest api, the following error occurs:
curl -i -H 'X-USER-IDENTITY-DOMAIN-NAME:identity_domain_name' -u
'client id and secret' -H
'Content-Type:application/x-www-form-urlencoded;charset=UTF-8' --request POST
https://identity_domain_name.identity.europe.oraclecloud.com/oam/oauth2/tokens

The client id and secret are taken from the OAuth administration page:https://<host>/mycloud/faces/security.jspx?_adf.ctrl-state=null




ERROR
-----------------------
HTTP/1.1 401 Unauthorized
Date: Mon, 17 Dec 2018 07:51:18 GMT
Server: Oracle-Application-Server-11g
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
X-ORACLE-DMS-ECID: <ECID>
Access-Control-Allow-Headers:
Access-Control-Allow-Methods:
Access-Control-Allow-Origin:
Content-Type: application/json
Content-Language: en
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Transfer-Encoding: chunked
Set-Cookie:
<Cookie>
 
{"error":"invalid_client","error_description":"Missing or Invalid Client ID"}

 





Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.