Status and Error Codes
REST API operations for Windows® Azure™ storage services return standard HTTP status codes, as defined in the HTTP/1.1 Status Code Definitions.
API operations may also return additional error information that is defined by the storage service. This additional error information is returned in the response body.
The body of the error response follows the basic format shown here.
<?xml version="1.0" encoding="utf-8"?> <Error> <Code>string-value</Code> <Message>string-value</Message> </Error>
A given error response may also include additional error information to provide the developer with more information about the error. For example, the following error response indicates that a query parameter specified on the request URI was invalid, and provides additional information about the invalid parameter's name and value and the reason for the error.
<?xml version="1.0" encoding="utf-8"?> <Error> <Code>InvalidQueryParameterValue</Code> <Message>Value for one of the query parameters specified in the request URI is invalid.</Message> <QueryParameterName>popreceipt</QueryParameterName> <QueryParameterValue>33537277-6a52-4a2b-b4eb-0f905051827b</QueryParameterValue> <Reason>invalid receipt format</Reason> </Error>
The following topics provide lists of error codes for the Blob, Queue, and Table services:
-
Common REST API Error Codes
-
Blob Service Error Codes
-
Queue Service Error Codes
-
Table Service Error Codes
See Also