My Oracle Support Banner

OBIEE 12c: "HTTP 401 Unauthorized" Error While Using the datamodel.sh Script (Doc ID 2395138.1)

Last updated on SEPTEMBER 05, 2023

Applies to:

Business Intelligence Suite Enterprise Edition - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

You are trying to use the datamodel.sh script to download/upload a RPD and you get an error:

<DOMAIN_HOME>/bitools/bin/datamodel.sh downloadrpd -O <RPD filename> -W <RPD password> -U <cred user> -P <cred password> -SI <service instance>
Connection failed, the server processes may be down, the host name, port number, service instance, or protocol (http/https) may be incorrect. Please check server logs, such as bi-lcm-rest.log.0 and obis1-diagnostic.log.

If you check the bi-lcm-rest.log.0 (under <DOMAIN_HOME>/servers/bi_server1/logs) this is seen:

<timestamp> oracle.bi.lcm.rest.app.LCMApplication INFO - 1 * Server responded with a response on thread [ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'
1 < 500
1 < Content-Type: application/json
{"fullStacktrace":["javax.ws.rs.WebApplicationException : HTTP 401 Unauthorized","oracle.bi.restkit.security.auth.RequiredGroupAuthoriser.authorise(RequiredGroupAuthoriser.java:45)",....

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
References


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