My Oracle Support Banner

[OCI]:Executing Any OCI Commands Using Command Line Interface (CLI) Fails With "The required information to complete authentication was not provided" (Doc ID 2444284.1)

Last updated on SEPTEMBER 06, 2018

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Executing any oci command gives following error:
====================
[root@anandu bin]# oci os ns get
ServiceError:
{
    "code": "NotAuthenticated",
    "message": "The required information to complete authentication was not provided.",
    "opc-request-id": "9a4fc6a1-5a9e-c345-8a1e-cf2e391a8cf6",
    "status": 401
}
====================

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
References

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