My Oracle Support Banner

404 error during execution of "oci iam db-token get" (Doc ID 2928518.1)

Last updated on JUNE 13, 2023

Applies to:

Autonomous Database on Shared Infrastructure - Version N/A to N/A
Information in this document applies to any platform.

Goal

 Execution of "oci iam db-token get" command is failing:

oci iam db-token get
ServiceError:
{
"client_version": "Oracle-PythonSDK/2.91.0, Oracle-PythonCLI/3.22.5",
"code": "NotAuthorizedOrNotFound",
"logging_tips": "Please run the OCI CLI command using --debug flag to find more debug information.",
"message": "Authorization failed or requested resource not found.",
"opc-request-id": "74379D42EF41433FAB1E3F793BD15EBE/E84B99063CC2242E184C4460FEC6E1B8/043510F6DCD46C83533B35AF22E2730B",
"operation_name": "generate_scoped_access_token",
"request_endpoint": "POST https://auth.us-ashburn-1.oraclecloud.com/v1/actions/generateScopedAccessToken",
"status": 404,
"target_service": "dataplane",
"timestamp": "2023-02-15T20:37:42.036778+00:00",
"troubleshooting_tips": "See [https://docs.oracle.com/iaas/Content/API/References/apierrors.htm] for more information about resolving this error. If you are unable to resolve this issue, run this CLI command with --debug option and contact Oracle support and provide them the full error message."
}

 

Solution

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