When Generating the OAuth Token for the P6 REST API the Error "Exception occured while requesting OAuth token" Occurs
(Doc ID 2912200.1)
Last updated on AUGUST 27, 2024
Applies to:
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 21.1 and laterInformation in this document applies to any platform.
Symptoms
When attempting to generate an OAuth token using https://p6.oraclecloud.com/<SERVICE INSTANCE>/p6ws/oauth/token, the following error occurs.
ERROR
-----------------------
Token Generation Failed
Reason:Exception occured while requesting OAuth token.
Status: 500 Internal Server Error Server
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Add a request to Postman
POST https://p6.oraclecloud.com/<SERVICE INSTANCE>/p6ws/oauth/token
Headers:
token_exp 3600
authToken <base64 encoded username:password>
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 |