My Oracle Support Banner

When Generating an OAuth Token for the Oracle Primavera Cloud (OPC) REST API the Error "500 Internal Server Error" Occurs (Doc ID 2916705.1)

Last updated on MAY 08, 2024

Applies to:

Oracle Primavera Cloud Service - Version 20.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to generate an OAuth Token for Oracle Primavera Cloud (OPC) REST API, the following error occurs.

ERROR
-----------------------
500 Internal Server Error

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Use the primediscovery URL to generate a OAuth token. For Example:
POST https://primavera.oraclecloud.com/primediscovery/apitoken/request?scope=http://primavera.oraclecloud.com/api
Headers: Authorization: Basic Authorization: Basic <Base64-Encoded-value-of-user-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


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