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)
at com.oracle.bmc.objectstorage.internal.http.ListBucketsConverter$1.apply(ListBucketsConverter.java:86)
at com.oracle.bmc.objectstorage.internal.http.ListBucketsConverter$1.apply(ListBucketsConverter.java:78)
at com.oracle.bmc.objectstorage.ObjectStorageClient.listBuckets(ObjectStorageClient.java:207)
at oracle.bluekai.cdss.ObjectStorageSyncExample.main(ObjectStorageSyncExample.java:44)
It looks like I can get the namespace but it reports NamespaceNotNotFound when listing buckets in the namespace. Any help for this problem is welcome. Thanks!