Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Unable to run ObjectStorageSyncExample.java — 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

Unable to run ObjectStorageSyncExample.java

Received Response
13
Views
1
Comments
edited Mar 10, 2017 8:00AM in Oracle Cloud Infrastructure - General 1 comment

Summary

Unable to run ObjectStorageSyncExample.java

Content

Hi, I was trying to run the example java code at https://github.com/oracle/bmcs-java-sdk/blob/master/bmc-examples/src/main/java/ObjectStorageSyncExample.java

But I found the following exception:

Using namespace: oracledatacloud

Exception in thread "main" com.oracle.bmc.model.BmcException: (404, NamespaceNotFound, false) You do not have authorization to perform this request, or the requested resource could not be found. (opc-request-id: 5f9fbdc4-d82e-0722-31ea-f9af6288b9e1)

  at com.oracle.bmc.http.internal.ResponseHelper.throwIfNotSuccessful(ResponseHelper.java:91)

  at com.oracle.bmc.http.internal.ResponseConversionFunctionFactory$ValidatingParseResponseFunction.apply(ResponseConversionFunctionFactory.java:87)

  at com.oracle.bmc.http.internal.ResponseConversionFunctionFactory$ValidatingParseResponseFunction.apply(ResponseConversionFunctionFactory.java:83)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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