If an error occurs with your request, you will get a non-200 HTTP status code and an XML Response similar to this:
<ErrorResponse xmlns='http://wsearch.amazonaws.com/doc/2007-03-15/'> <Error> <Type>Sender -or- Receiver</Type> <Code>ErrorCode</Code> <Message>Error message</Message> </Error> <RequestId>2167c9cb-cf4c-4ebd-82e5-832a7754c0d8</RequestId> </ErrorResponse>
The table below lists the errors returned by the Alexa Web Search service:
| Error | Description |
|---|---|
InvalidAction | The action ___ is not valid for this web service. |
InvalidAccessKeyId | AWS was not able to validate the provided access credentials. |
InvalidClientTokenId | The AWS Access Key Id you provided does not exist in our records. |
InvalidParameterValue | Value ___ for parameter ___ is invalid. Reason: ___. |
InvalidQueryParameter | The query parameter ___ is invalid. Please see service documentation for correct syntax. |
InvalidResponseGroups | The following response groups are invalid: ___ |
InvalidSecurity | The provided security credentials are not valid. Reason: ___. |
InternalError | We encountered an internal error. Please try again. |
MissingAction | No action was supplied with this request. |
MissingClientTokenId | Request must contain AWSAccessKeyId or X.509 certificate. |
MissingDateHeader | Authorized request must have a "date" or "x-amz-date" header. |
MissingParameter | The request must contain the parameter ___. |
NoSuchVersion | The requested version (___) is not valid. |
RequestExpired | Request has expired. Timestamp date is 2007-05-04T10:26:35.000Z. |
SignatureDoesNotMatch | The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. |