Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rest API /authenticate results 403/Access Denied

lnx1Jun 10 2016 — edited Jun 11 2016

Hi,

I am new with Oracle Compute Cloud. Trying to check the API access by following "quick start" (https://docs.oracle.com/cloud/latest/stcomputecs/STCSA/QuickStart.html)

I am following the example to get the authentication cookie (Step 5).

I change the identity-domain, username, password and rest api end point to match my account information.

User is the account owner so it has roles/privileges it needs.

Generic command to obtain authentication cookie per documentation:

curl -i -X POST

  -H "Content-Type: application/oracle-compute-v3+json"

  -d '{"user":"/Compute-acme/jack.jones@example.com","password":"ft7)Dvjo"}'

  https://api.compute.us0.oraclecloud.com/authenticate/

This is what I get in return:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>403 Forbidden</title>

</head><body>

<h1>Forbidden</h1>

<p>You don't have permission to access /error/noindex.html

on this server.</p>

</body></html>

Any idea what may be causing this error?

Also as another question, when I login to Oracle Cloud My Services, I see my DataCenter is US2.

Yet the RestEnd Point field on the same page points to US6.

This should not make any difference as I'd expect authentication would be same between different DCs but, you never know.

Is it normal?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2016
Added on Jun 10 2016
0 comments
987 views