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

edited Mar 10, 2017 8:00AM in OCI - 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(

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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