What's new in Customer Journeys?

Connect and learn more!
Authorization failed while exporting to Object storage from ATP — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Authorization failed while exporting to Object storage from ATP

Received Response
11
Views
1
Comments

Summary:

Hi I am getting authorize failed error while exporting data from ATP to bucket using dbsm_cloud.export_data package.

ORA-20401: Authorization failed for URI -  https://objectstorage.{region}.oraclecloud.com/n/{namespace}/b/{bucket}/o/{objectname}/xx.csv

 ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 1651

 ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 8493

 ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 8512

I am not using pre-authenticate URL due to security reasons.

need a bit more info on

dbms_credential.create_credential(
    credential_name => 'tim_hall_credential',
    username        => 'tim_hall',
    password        => 'password');

if someone can share a sample working code would be great.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!