My Oracle Support Banner

'ORA-20401: Authorization failed' error during listing contents of OCI Object storage using PL/SQL in ADB (Doc ID 2680364.1)

Last updated on JUNE 14, 2020

Applies to:

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

Symptoms

Executing DBMS_CLOUD.send_request to list compartments is failing with following errors:

ERROR at line 1:
ORA-20401: Authorization failed for URI - https://identity.us-ashburn-1.oraclecloud.com/20160918/compartments?compartmentId=ocid1.tenancy.oc1..aaaaaaaazhrdcmfrzkdn
ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 964
ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 2864
ORA-06512: at line 7

 

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.