Errors
Written by
Updated at June 26, 2024
In case of an error, Cloud Notification Service returns a message with the appropriate HTTP code and its additional description in XML or JSON format depending on the specified ResponseFormat
parameter.
Data schema:
XML
JSON
<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponseXML>
<RequestId>string</RequestId>
<Error>
<Code>string</Code>
<Message>string</Message>
</Error>
</ErrorResponseXML>
{
"ErrorResponse": {
"RequestId": "string",
"Error": {
"Code": "string",
"SubCode": "string",
"Message": "string"
}
}
}
Where:
RequestId
: Request IDCode
: Error codeMessage
: Error description
List of common error codes
HTTP | Error code | Description |
---|---|---|
400 | InvalidParameter | An invalid parameter was provided. |
400 | InvalidParameter | An invalid attribute was provided. |
400 | InvalidParameter | No required parameter was provided. |
403 | AuthorizationError | Authentication error. |
403 | AuthorizationError | Not enough permissions to perform the operation. |
403 | AuthorizationError | Authorization error. |