My Oracle Support Banner

When Running a Request Using the Oracle Primavera Cloud Service (OPC) REST API the Error "Error 401 Unauthorized" or "401 Authorization Required" Occcurs (Doc ID 2770346.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

When attempting to load workspaces or run any request using the OPC REST API, on of the following error occurs.

ERROR
-----------------------
Error 401 Unauthorized

401 Authorization Required

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a bearer token using the OPC authentication service
2. Create a request with the bearer token and headers.
3. Run the request

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
 Solution to Cause 1:
 Solution to Cause 2:
 Solution to Cause 3:


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