Getting "HTTP/1.1 403 Forbidden" during curl command execution for DBaaS instance

(Doc ID 2381098.1)

Last updated on MARCH 30, 2018

Applies to:

Oracle Database as a Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

 Issuing following command fails with "403 Forbidden" message:

curl -i -u testuser:testpwd -X GET -H "X-ID-TENANT-NAME:testact" https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/testact


HTTP/1.1 403 Forbidden
Server: Oracle-Application-Server-11g
Strict-Transport-Security: max-age=31536000;includeSubDomains
Content-Language: en
.............
Date: Sat, 31 Mar 2018 03:52:31 GMT
Connection: close

no DBAAS permission

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms