Module: Azure::Storage::Common::StorageErrorCodeStrings

Defined in:
lib/azure/storage/common/default.rb

Overview

Constants for storage error strings More details are at = msdn.microsoft.com/en-us/library/azure/dd179357.aspx

Constant Summary collapse

CONDITION_NOT_MET =

Not Modified (304) = The condition specified in the conditional header(s) was not met for a read operation. Precondition Failed (412) = The condition specified in the conditional header(s) was not met for a write operation.

"ConditionNotMet"
MISSING_REQUIRED_HEADER =

Bad Request (400) = A required HTTP header was not specified.

"MissingRequiredHeader"
MISSING_REQUIRED_XML_NODE =

Bad Request (400) = A required XML node was not specified in the request body.

"MissingRequiredXmlNode"
UNSUPPORTED_HEADER =

Bad Request (400) = One of the HTTP headers specified in the request is not supported.

"UnsupportedHeader"
UNSUPPORTED_XML_NODE =

Bad Request (400) = One of the XML nodes specified in the request body is not supported.

"UnsupportedXmlNode"
INVALID_HEADER_VALUE =

Bad Request (400) = The value provided for one of the HTTP headers was not in the correct format.

"InvalidHeaderValue"
INVALID_XML_NODE_VALUE =

Bad Request (400) = The value provided for one of the XML nodes in the request body was not in the correct format.

"InvalidXmlNodeValue"
MISSING_REQUIRED_QUERY_PARAMETER =

Bad Request (400) = A required query parameter was not specified for this request.

"MissingRequiredQueryParameter"
UNSUPPORTED_QUERY_PARAMETER =

Bad Request (400) = One of the query parameters specified in the request URI is not supported.

"UnsupportedQueryParameter"
INVALID_QUERY_PARAMETER_VALUE =

Bad Request (400) = An invalid value was specified for one of the query parameters in the request URI.

"InvalidQueryParameterValue"
OUT_OF_RANGE_QUERY_PARAMETER_VALUE =

Bad Request (400) = A query parameter specified in the request URI is outside the permissible range.

"OutOfRangeQueryParameterValue"
REQUEST_URL_FAILED_TO_PARSE =

Bad Request (400) = The url in the request could not be parsed.

"RequestUrlFailedToParse"
INVALID_URI =

Bad Request (400) = The requested URI does not represent any resource on the server.

"InvalidUri"
INVALID_HTTP_VERB =

Bad Request (400) = The HTTP verb specified was not recognized by the server.

"InvalidHttpVerb"
EMPTY_METADATA_KEY =

Bad Request (400) = The key for one of the metadata key-value pairs is empty.

"EmptyMetadataKey"
INVALID_XML_DOCUMENT =

Bad Request (400) = The specified XML is not syntactically valid.

"InvalidXmlDocument"
MD5_MISMATCH =

Bad Request (400) = The MD5 value specified in the request did not match the MD5 value calculated by the server.

"Md5Mismatch"
INVALID_MD5 =

Bad Request (400) = The MD5 value specified in the request is invalid. The MD5 value must be 128 bits and Base64-encoded.

"InvalidMd5"
OUT_OF_RANGE_INPUT =

Bad Request (400) = One of the request inputs is out of range.

"OutOfRangeInput"
INVALID_AUTHENTICATION_INFO =

Bad Request (400) = The authentication information was not provided in the correct format. Verify the value of Authorization header.

"InvalidAuthenticationInfo"
INVALID_INPUT =

Bad Request (400) = One of the request inputs is not valid.

"InvalidInput"
INVALID_METADATA =

Bad Request (400) = The specified metadata is invalid. It includes characters that are not permitted.

"InvalidMetadata"
INVALID_RESOURCE_NAME =

Bad Request (400) = The specifed resource name contains invalid characters.

"InvalidResourceName"
METADATA_TOO_LARGE =

Bad Request (400) = The size of the specified metadata exceeds the maximum size permitted.

"MetadataTooLarge"
CONDITION_HEADER_NOT_SUPPORTED =

Bad Request (400) = Condition headers are not supported.

"ConditionHeadersNotSupported"
MULTIPLE_CONDITION_HEADER_NOT_SUPPORTED =

Bad Request (400) = Multiple condition headers are not supported.

"MultipleConditionHeadersNotSupported"
AUTHENTICATION_FAILED =

Forbidden (403) = Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature.

"AuthenticationFailed"
INSUFFICIENT_ACCOUNT_PERMISSIONS =

Forbidden (403) = Read-access geo-redundant replication is not enabled for the account. Forbidden (403) = Write operations to the secondary location are not allowed. Forbidden (403) = The account being accessed does not have sufficient permissions to execute this operation.

"InsufficientAccountPermissions"
RESOURCE_NOT_FOUND =

Not Found (404) = The specified resource does not exist.

"ResourceNotFound"
ACCOUNT_IS_DISABLED =

Forbidden (403) = The specified account is disabled.

"AccountIsDisabled"
UNSUPPORTED_HTTP_VERB =

Method Not Allowed (405) = The resource doesn’t support the specified HTTP verb.

"UnsupportedHttpVerb"
ACCOUNT_ALREADY_EXISTS =

Conflict (409) = The specified account already exists.

"AccountAlreadyExists"
ACCOUNT_BEING_CREATED =

Conflict (409) = The specified account is in the process of being created.

"AccountBeingCreated"
RESOURCE_ALREADY_EXISTS =

Conflict (409) = The specified resource already exists.

"ResourceAlreadyExists"
RESOURCE_TYPE_MISMATCH =

Conflict (409) = The specified resource type does not match the type of the existing resource.

"ResourceTypeMismatch"
MISSING_CONTENT_LENGTH_HEADER =

Length Required (411) = The Content-Length header was not specified.

"MissingContentLengthHeader"
REQUEST_BODY_TOO_LARGE =

Request Entity Too Large (413) = The size of the request body exceeds the maximum size permitted.

"RequestBodyTooLarge"
INVALID_RANGE =

Requested Range Not Satisfiable (416) = The range specified is invalid for the current size of the resource.

"InvalidRange"
INTERNAL_ERROR =

Internal Server Error (500) = The server encountered an internal error. Please retry the request.

"InternalError"
OPERATION_TIMED_OUT =

Internal Server Error (500) = The operation could not be completed within the permitted time.

"OperationTimedOut"
SERVER_BUSY =

Service Unavailable (503) = The server is currently unable to receive requests. Please retry your request.

"ServerBusy"
UPDATE_CONDITION_NOT_SATISFIED =

Legacy error code strings

"UpdateConditionNotSatisfied"
CONTAINER_NOT_FOUND =
"ContainerNotFound"
CONTAINER_ALREADY_EXISTS =
"ContainerAlreadyExists"
CONTAINER_DISABLED =
"ContainerDisabled"
CONTAINER_BEING_DELETED =
"ContainerBeingDeleted"