OBIEE 12c: "HTTP 401 Unauthorized" Error While Using the datamodel.sh Script

(Doc ID 2395138.1)

Last updated on JUNE 19, 2018

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)",....

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms