Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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 use bmcs-java-sdk

edited Jul 6, 2017 7:00AM in OCI - General

Summary

Unable to use bmcs-java-sdk

Content

I am trying to use bmcs-java-sdk. I am able to create 2 instances with one load balancer in front of it using Console.

I am following documentation for BMCS and github sampe sdk usage link - https://github.com/oracle/bmcs-java-sdk/tree/master/bmc-examples

I am trying to run GetImageVersion.java using SDK, but unable to get it.

Output :

Exception in thread "main" com.oracle.bmc.model.BmcException: (404, NotAuthorizedOrNotFound, false) Authorization failed or requested resource not found. (opc-request-id: CD881D35041C478FBDA98AE0BACB0AE5/99E18467D96B494D98B750FE689C486D/8B09BAEE3C554A5CAD48D9E9915390C9)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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