curl commands fails with HTTP/1.1 401 Unauthorized error
(Doc ID 2336881.1)
Last updated on DECEMBER 20, 2023
Applies to:
Oracle Database Backup Service - Version N/A to N/AOracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.
Symptoms
DBaaS backup to Cloud Storage or curl commands to cloud service fails with following message:
curl -v -X GET -u user@orgnization.com https://identitydomain.storage.oraclecloud.com/v1/Storage-identitydomain
Enter host password for user 'user@orgnization.com':
* About to connect() to identitydomain.storage.oraclecloud.com port 443 (#0)
.
.
.
> Accept: */*
>
< HTTP/1.1 401 Unauthorized <=---------------------------
< X-Trans-Id: txef4b3a7168ab44e5a40f5-005a24e98cga
< WWW-Authenticate: Token
< Content-Type: text/plain;charset=UTF-8
< Content-Length: 27
< Date: Mon, 04 Dec 2017 06:22:04 GMT
< Server: Oracle-Storage-Cloud-Service
<
* Connection #0 to host identitydomain.storage.oraclecloud.com left intact
* Closing connection #0
Enter host password for user 'user@orgnization.com':
* About to connect() to identitydomain.storage.oraclecloud.com port 443 (#0)
.
.
.
> Accept: */*
>
< HTTP/1.1 401 Unauthorized <=---------------------------
< X-Trans-Id: txef4b3a7168ab44e5a40f5-005a24e98cga
< WWW-Authenticate: Token
< Content-Type: text/plain;charset=UTF-8
< Content-Length: 27
< Date: Mon, 04 Dec 2017 06:22:04 GMT
< Server: Oracle-Storage-Cloud-Service
<
* Connection #0 to host identitydomain.storage.oraclecloud.com left intact
* Closing connection #0
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 |