My Oracle Support Banner

REST API returns Unauthorized when using basic authentication in OCM Toolkit rest calls (Doc ID 2963211.1)

Last updated on JULY 25, 2023

Applies to:

Oracle Content Management - Version 23.6.1 and later
Information in this document applies to any platform.

Symptoms

When compiling a site through the OCM CLI, this CLI uses REST API to obtain certain assets and components. One such request for obtaining asset variations return always a 401 error as Unauthorized.
Server in OCM CLI project has been configured with Basic authentication and the username and password are correct.

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
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.