Amazon CloudFront is returning the error "The request could not be satisfied. Bad Request." How can I resolve this error?

"The request could not be satisfied. Bad Request." is an error from the client that can occur due to one of the following reasons:

  • The request is initiated over HTTP, but the CloudFront distribution is configured to allow only HTTPS requests.
  • The requested alternate domain name (CNAME) isn't associated with the CloudFront distribution.

To allow HTTP requests, follow these steps:

  1. Open the Amazon CloudFront console.
  2. Choose the distribution that is returning the Bad Request error.
  3. Choose the Behaviors view.
  4. Choose the behavior that matches the request. Then, choose Edit.
  5. For Viewer Protocol Policy, choose either HTTP and HTTPS or Redirect HTTP to HTTPS. Note: HTTP and HTTPS allow connections on both HTTP and HTTPS. Redirect HTTP to HTTPS automatically redirects HTTP requests to HTTPS.
  6. Choose Yes, Edit.

To associate an alternate domain name (CNAME) with a distribution, follow these steps:

  1. Open the Amazon CloudFront console.
  2. Choose the distribution that is returning the Bad Request error.
  3. Choose the General view.
  4. Choose Edit.
  5. For Alternate Domain Names (CNAMEs), type the CNAME that you want to associate with the CloudFront distribution.
  6. Choose Yes, Edit.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2018-06-08