Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How to find opc-request-id for oracle cloud request?

User_ZG6NASep 1 2021

Hello,
I'm currently developing an application that uses oracle cloud to make request which then makes changes on a user's oracle cloud account.
Right now I'm following this example:
CreateSnapshotExample.java
https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/2.4.2/filestorage/CreateSnapshotExample.java.html

I have everything else I need, except where it asks for opcrequestid. I've tried searching online and on oracle cloud but I can't figure out how to find this or what value to use. All i've found is this is given in the response for the call, however in that above example they use it before they get a response.

Comments
Post Details
Added on Sep 1 2021
1 comment
1,991 views