NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class InvalidForwardCookiesException

Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.

  Exception
  RuntimeException
  Aws\Common\Exception\RuntimeException implements Aws\Common\Exception\AwsExceptionInterface
  Aws\Common\Exception\ServiceResponseException
  Aws\CloudFront\Exception\CloudFrontException
  Aws\CloudFront\Exception\InvalidForwardCookiesException

Namespace: Aws\CloudFront\Exception
Located at Aws/CloudFront/Exception/InvalidForwardCookiesException.php

## Methods summary

## Methods detail

### Methods inherited from Aws\Common\Exception\ServiceResponseException

`__toString()`, `getAwsErrorCode()`, `getAwsErrorType()`, `getAwsRequestId()`, `getExceptionCode()`, `getExceptionType()`, `getRequest()`, `getRequestId()`, `getResponse()`, `getStatusCode()`, `setExceptionCode()`, `setExceptionType()`, `setRequest()`, `setRequestId()`, `setResponse()`

### Methods inherited from Exception

`__construct()`, `__wakeup()`, `getCode()`, `getFile()`, `getLine()`, `getMessage()`, `getPrevious()`, `getTrace()`, `getTraceAsString()`

### Magic methods summary

## Properties summary

### Properties inherited from Aws\Common\Exception\ServiceResponseException

`$exceptionCode`, `$exceptionType`, `$request`, `$requestId`, `$response`

### Properties inherited from Exception

`$code`, `$file`, `$line`, `$message`