Response format when the state is error

- Authentication error

HTTP status

Status

Returns the status of the request.
401:
Authentication error
Data Type Cardinality
Int 1..1

Response Elements

n/a

Example of Response


HTTP/1.1 401 Unauthorized
Date: Fri, 06 Jun 2014 11:00:38 GMT       
     

- Access denied

HTTP status

Status

Returns the status of the request.
403:
Access denied
Data Type Cardinality
Int 1..1

Response Elements

AccessDeniedException

Envelope of error response.

Data Type Cardinality Parent Element Child Element(s)
- 1..1 None Message

Message

Error message.

Data Type Cardinality Parent Element Child Element(s)
xsd:string 1..1 AccessDeniedException None

Example of Response


HTTP/1.1 403 Forbidden
Date: Fri, 06 Jun 2014 11:00:38 GMT
Content-Length: ...
Content-Type: application/xml
x-fj-request-id: d96bd874-9bf2-11e1-8ee7-c98a0037a2b6
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessDeniedException>
  <Message>Access Denied</Message>
</AccessDeniedException>
     

- Errors other than authentication error/access denied

HTTP status

Status

Returns the status of the request.

One of the following values will be returned.
400:
  • XML format of request is incorrect
  • Requested action or operation is invalid
  • Incompatible parameters are used
  • An invalid value or a value outside the range is specified to an input parameter
  • Query string format is incorrect
  • Query string contains a syntax error
  • Action is not specified or some parameters are missing
  • Parameters required for the specified action are missing
  • Access denied because service use limit is exceeded
  • Parameter validation error
  • Query string contains a syntax error
500:
Internal server error
5xx:
Error when an availability zone goes down

The query sent by the user varies depending on when the availability zone goes down, resulting in various behaviors.

Therefore, (5xx) returned by the HTTP status code prompts the user to retry.

Data Type Cardinality
Int 1..1

Response Elements

ErrorResponse

Envelope of error response.

Data Type Cardinality Parent Element Child Element(s)
- 1..1 None Error

RequestId

Error

Envelope of error information.

Data Type Cardinality Parent Element Child Element(s)
- 1..1 ErrorResponse Type

Code

Message

Type

Sender or Receiver.

Indicates whether the error was caused by the sender or the receiver.

Data Type Cardinality Parent Element Child Element(s)
xsd:string 1..1 Error None

Code

Error code.

Data Type Cardinality Parent Element Child Element(s)
xsd:string 1..1 Error None

Message

Error message (English).

Data Type Cardinality Parent Element Child Element(s)
xsd:string 1..1 Error None

RequestId

ID that uniquely identifies the request.

This is required when contacting support staff to troubleshoot an issue.

Data Type Cardinality Parent Element Child Element(s)
xsd:string 1..1 ErrorResponse None

Example of Response


HTTP/1.1 400 Bad Request
Date: Fri, 06 Jun 2014 11:00:38 GMT
Content-Length: ...
Content-Type: application/xml
x-fj-request-id: 2844de70-360d-488d-bd63-0cd88fd94be1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ErrorResponse xmlns="https://dns.tps5.fujitsu.com/doc/2014-11-01/">
  <Error>
    <Type>Sender</Type>
    <Code>InvalidInput</Code>
    <Message>The specified Action is not valid</Message>
    </Error>
    <RequestId>2844de70-360d-488d-bd63-0cd88fd94be1</RequestId>
</ErrorResponse>