My Oracle Support Banner

OCI Error "AvailabilityDomain could not be inferred from the Request" While Performing InstanceAction Via REST API (Doc ID 2476322.1)

Last updated on DECEMBER 18, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

Using the REST APIs to control OCI instances, the ListInstances (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ListInstances) and the LaunchInstance (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance) is successful.However unable to use the InstanceAction (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/Instance/InstanceAction). For InstanceAction, currently using the bash oci-curl (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/signingrequests.htm#Bash)

oci-curl iaas.eu-frankfurt-1.oraclecloud.com POST action.json "/aaa/instances/ocid1.instance.oc1.eu-frankfurt-1.abcd"

The error message is as under:

{
  "code" : "InvalidParameter",
  "message" : "AvailabilityDomain could not be inferred from the Request"
}

LaunchInstance, which is also a POST, works as expected.


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.