What it means
| Code | 406 |
|---|---|
| Name | Not Acceptable |
| Type | Standard HTTP status (used by some firewalls) |
| Usually caused by | The provider's server or firewall |
The server found the resource but refuses to send it in response to this request's headers. Firewalls reuse 406 to block requests they consider suspicious.
In practice
Web application firewalls such as ModSecurity sit in front of many IPTV panels and return 406 for requests that match their rules. Unusual User-Agent strings, empty headers, or URLs containing characters that look like attack patterns are typical triggers. The firewall does not look at your account at all.
Because the block depends on how the request looks, switching player or login type often changes the result instantly. TodPlayer, for example, retries a refused playlist download with several common player identities before reporting an error. If every player gets 406, only the provider can relax the rule.
Where you see it
- When a new or less common player loads the playlist.
- After the provider tightened its firewall rules.
Common causes
- A firewall rule against the player's User-Agent.
- Unusual Accept headers sent by the player.
- Characters in the URL that the firewall treats as an attack pattern.
How to fix it
- Try the Xtream Codes login instead of the M3U link.
- Use a player that lets you set the User-Agent, and try a common one such as VLC.
- Ask the provider which players they support.
Frequently asked questions
Is 406 my fault?
Rarely. It is a server-side rule; changing the player or its identity usually solves it.
Can I change the User-Agent myself?
Some players let you set it in the playlist settings. TodPlayer has an optional User-Agent field on the upload page for providers that require one.