

# AWS Elemental MediaPackage manifest filtering error conditions
<a name="error-conditions-and-handling"></a>

Common error conditions for manifest filtering with MediaPackage are listed in the following table. 


****  

| Error condition | Example | HTTP status code | 
| --- | --- | --- | 
| A list parameter is not found and is not part of a constrained list | ?aws.manifestfilter=audio\$1language:dahlia | 200 | 
| Only subtitle streams are present in the stream | ?aws.manifestfilter=audio\$1sample\$1rate:0-1;video\$1bitrate=0-1 | 200 | 
| Duplicate filter parameter | ?aws.manifestfilter=audio\$1sample\$1rate:0-48000;aws.manifestfilter=audio\$1sample\$1rate:0-48000 | 400 | 
| Invalid parameter | ?aws.manifestfilter=donut\$1type:rhododendron | 400 | 
| Invalid range parameter | ?aws.manifestfilter=audio\$1sample\$1rate:300-0 | 400 | 
| Invalid range value (more than INT\$1MAX) | ?aws.manifestfilter=audio\$1sample\$1rate:0-2147483648 | 400 | 
| Malformed query string | ?aws.manifestfilter=audio\$1sample\$1rate:is:0-44100 | 400 | 
| Parameter string is greater than 1024 characters | ?aws.manifestfilter=audio\$1language:abcdef.... | 400 | 
| Query parameters on an TS or CMAF bitrate manifest | index\$11.m3u8?aws.manifestfilter=video\$1codec:h264 | 400 | 
| Query parameters on a segment request | ...\$11.[ts\$1mp4\$1vtt..]?aws.manifestfilter=video\$1codec:h264 | 400 | 
| Repeated query parameter | ?aws.manifestfilter=audio\$1sample\$1rate:0-48000;aws.manifestfilter=video\$1bitrate:0-1 | 400 | 
| Application of the filter results in an empty manifest (content has no streams that meet the conditions defined in the query string) | ?aws.manifestfilter=audio\$1sample\$1rate:0-1;video\$1bitrate=0-1 | 400 | 