Menu
Amazon CloudFront
API Reference (API Version 2016-09-07)

Errors

The following table lists the errors that all CloudFront actions return. Errors specific to a particular action are listed in the topic for that action. For information about the format of error responses, see REST Responses.

ErrorDescriptionHTTP Status Code

AccessDenied

Access denied.

403

InappropriateXML

The XML document you provided was well-formed and valid, but not appropriate for this operation.

400

InternalError

We encountered an internal error. Please try again.

500

InvalidAction

The action specified is not valid.

400

InvalidArgument

<Parameter name and problem>

400

InvalidClientTokenId

The AWS Access Key ID you provided does not exist in our records.

403

InvalidHTTPAuthHeader

The HTTP authorization header is bad, use format: AWS <AWSAccessKeyId>:<Signature>

400

InvalidHTTPRequest

There was an error in the body of your HTTP request.

400

InvalidURI

Could not parse the specified URI.

400

MalformedXML

The XML you provided was not well-formed or did not validate against our published schema.

400

MissingClientTokenId

Request must contain AWSAccessKeyId.

403

MissingDateHeader

Authorized request must have a "date" or "x-amz-date" header.

400

NoSuchVersion

The API version specified does not exist.

404

NotImplemented

Not implemented.

501

OptInRequired

The AWS Access Key ID needs a subscription for the service.

403

PreconditionFailed

The specified If-Match header doesn't match the ETag header.

412

RequestExpired

Request has expired. Timestamp date is <the value of the Date or x-amz-date header you submitted in the request>.

400

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.

403