IPTV Error Codes Explained: What 401, 403, 404, 410, 429, 451 & 5xx Really Mean
IPTV showing 401, 403, 404, 429, 451, 502, 503 or 504? Learn what each HTTP code officially means, what to check first and what it does not prove.
An IPTV error code is only useful once you know two things: whether it really is an HTTP status code, and which request failed. The same code can appear when you log in, load the playlist, load the TV guide, open a live channel or start a film, and each of those points to a different next step.
This article explains what 401, 403, 404, 410, 429, 451, 500, 502, 503 and 504 officially mean, using the HTTP standards themselves; what to check first; and, just as important, what each code does not prove.
First: Is This Actually an HTTP Status Code?
IPTV apps show several kinds of numbers. Some are real HTTP status codes, sent by a server in reply to a request. Others are the app's own error numbers, numbers defined by a particular service or its software, or messages from the video playback engine. They are not interchangeable.
The IANA HTTP Status Code Registry is the official list of standard codes. All ten codes in this article are registered there. Many other numbers are not: the registry lists 452 to 499 and 509 as unassigned, so a 455, 456, 458 or 509 shown by an IPTV app is not a standard HTTP code, and only that app's or service's own documentation can say what it means.
Read the message as well as the number. RFC 9110, the HTTP standard, says a server should send an explanation with 4xx and 5xx errors and that apps should show it. When your player displays that text, it is often the most useful clue you have.
Then Find Where the Error Appeared
Note exactly when the error shows up:
- While adding the service or logging in.
- While loading or refreshing the playlist.
- While loading the TV guide (EPG).
- When opening any channel.
- On one channel only.
- On one film or episode only.
The context narrows the search before the code does. An error at login concerns the account or the login details; an error on one channel concerns that channel's stream; an error on everything points to something shared, such as the login, the service or the connection to it.
4xx, 5xx and the Layers in Between
HTTP groups codes into classes. In the words of RFC 9110, a 4xx code means the client “seems to have erred”, and a 5xx code means the server “is aware that it has erred or is incapable” of performing the request. That describes the response; it is not a verdict on who is to blame. A 4xx can be the correct answer to a perfectly reasonable request, such as one for a resource that has been removed.
A request can also pass through more than one server, and the code comes from whichever server answered:
The request path
- IPTV playerSends a request: login, playlist, guide or stream
- EndpointThe login, API or stream address it asked for
- Gateway or proxyA server passing the request on, if there is one
- Upstream serviceThe application or stream source behind it
401403404410429451
The answer is about the request itself: authentication, permission, the resource or the request rate. The endpoint or a server in between can send these.
500
The server that answered hit an unexpected condition.
502504
A gateway or proxy had a problem with the server behind it: an invalid response (502) or no response in time (504).
503
The server that answered cannot handle the request right now.
IPTV Error Codes at a Glance
| Code | Official HTTP meaning | What to check first | What the code does not prove |
|---|---|---|---|
| 401 Unauthorized | The request lacks valid authentication credentials for the resource | The login details, exactly as supplied, and which request failed | That the subscription expired, the account is blocked or the player is wrong |
| 403 Forbidden | The server understood the request but refuses to fulfil it | The message shown with the code, and whether other requests work | Why it refused: expiry, a connection limit or a network block are only guesses |
| 404 Not Found | No current representation was found, or the server will not disclose one | Which address or item returned it | Whether the gap is temporary or permanent, or that a channel was deleted |
| 410 Gone | The resource is no longer available, and this is likely to be permanent | Which address or item returned it | That every permanently missing resource returns 410 |
| 429 Too Many Requests | Too many requests in a given amount of time (rate limiting) | Any wait time given; then stop retrying | That a stream or connection limit was exceeded, or how requests are counted |
| 451 Unavailable For Legal Reasons | Access is denied as a consequence of a legal demand | The explanation sent with the code | That the subscription expired, or which server sent it |
| 500 Internal Server Error | The server hit an unexpected condition | Whether one item or every request fails | What failed inside the server |
| 502 Bad Gateway | A gateway or proxy received an invalid response from the server behind it | Whether it persists, and on which requests | Which server failed, or that the whole service is down |
| 503 Service Unavailable | The server is temporarily unable to handle the request | Any wait time given; then avoid rapid retries | The cause of the overload or maintenance |
| 504 Gateway Timeout | A gateway or proxy got no timely response from the server behind it | Whether it persists, and on which requests | That your home internet is at fault |
401 Unauthorized: Authentication Was Not Accepted
RFC 9110 defines 401 as a request that “has not been applied because it lacks valid authentication credentials for the target resource”. If credentials were sent, the 401 means they were refused. Despite the name, it is about authentication, meaning whether the server accepted who you are, rather than about what you are allowed to see.
In an IPTV app, a 401 is most likely wherever the server checks login details, such as at login or when the playlist loads, but it can also appear on any single request that needs authentication.
- Compare the server address, username and password character by character with the details you were given.
- Look for spaces copied before or after a value, and for characters that are easy to confuse.
- Note whether it happens at login and playlist loading, or only on one channel or item.
- If the details are certainly correct and the error remains, report the exact code and message to support.
- What it suggests
- The login details were missing, incomplete or not accepted for that resource.
- What it does not prove
- It does not prove that the subscription has expired, that the account is blocked, that a device limit was reached or that the player is at fault; each of those needs its own evidence.
Setting up tereatv for the first time? Follow the tereatv setup guide.
403 Forbidden: The Server Is Refusing the Request
RFC 9110 defines 403 as: the server “understood the request but refuses to fulfill it”. If credentials were sent, the server considers them insufficient, but the standard adds that “a request might be forbidden for reasons unrelated to the credentials”. A server may describe its reason in the response, and the client should not automatically repeat the request with the same credentials.
That is the difference from 401: a 401 says authentication was missing or not accepted; a 403 says the server understood the request and still refuses it. A server may even answer 404 instead of 403 to hide that a forbidden resource exists.
- Read the full message: it may state the reason.
- Check whether every request fails, or only one channel, item or action.
- Do not keep retrying with the same details; that is unlikely to change the answer.
- Report the code, the message and the affected request to support.
- What it suggests
- The server made an access decision against this request. Whether it affects one item or everything tells you how broad that decision is.
- What it does not prove
- The code does not say why. Expired subscriptions, connection limits, VPN or network blocks and app restrictions are all suggested in IPTV discussions, but none is part of the definition, and each needs evidence from the service itself.
404 Not Found vs 410 Gone
RFC 9110 defines 404 as: the origin server “did not find a current representation for the target resource or is not willing to disclose that one exists”, and it does not indicate “whether this lack of representation is temporary or permanent”.
410 is more specific: access to the resource “is no longer available” and the condition “is likely to be permanent”. The standard prefers 410 when the server knows the absence is permanent, but it is not required, so a resource that is gone for good may still return 404.
A fictional example, for a film at the address /vod/example-film:
- 404: the server did not find the film, or will not say. It may come back, or it may not.
- 410: the server is deliberately signalling that the film is gone and unlikely to return.
- Find which request failed: the playlist address, the guide address, one channel, or one film or episode.
- Check whether other channels and items still load.
- If the playlist or guide address itself returns 404, check that it was entered exactly as supplied.
- What it suggests
- The server could not provide that particular resource. If only one item fails, the problem is limited to that item.
- What it does not prove
- A 404 does not mean a channel was deleted, and it does not say whether the gap is temporary. A 410 means likely permanent, but receiving a 404 instead proves nothing, because servers are not required to use 410.
429 Too Many Requests: Stop Retrying for a Moment
RFC 6585 defines 429 as: the user “has sent too many requests in a given amount of time” (“rate limiting”). The response may include a Retry-After header saying how long to wait, given as a number of seconds or a date.
That makes 429 the code where retrying is the wrong instinct. Refreshing the playlist again, reloading the guide, reopening the channel or logging in again all send more requests, which may be exactly what the server is asking you to reduce.
- Stop for a while. If your player shows a wait time, respect it.
- Check whether something is refreshing very often, such as an automatic playlist or guide refresh, or several devices refreshing at the same time.
- If it continues after a pause, report it with the time and the action that triggered it.
- What it suggests
- The server is limiting how often it will accept requests from you.
- What it does not prove
- RFC 6585 does not define how a server identifies a user or counts requests: per resource, across a whole server or across several servers. So a 429 does not by itself mean too many simultaneous streams, account sharing or an overloaded service.
451 Unavailable for Legal Reasons: Do Not Misread It
RFC 7725 defines 451 as: the server “is denying access to the resource as a consequence of a legal demand”. The response should explain the demand: who made it, the legislation or regulation involved, and what it applies to. The standard also notes that the server sending it “might not be an origin server”, and that a 451 implies neither that the resource exists nor that it does not.
451 does not mean “subscription expired”. That reading circulates in IPTV discussions, but it is not the standard HTTP meaning. A private panel or app may reuse the number 451 with a meaning of its own; if so, only its accompanying message or documentation can tell you what it means there.
- Read the full message sent with the code.
- Note whether it affects one item, a group of items or everything.
- Contact the service's support with the exact code and message.
- What it suggests
- In the standard meaning, access was refused because of a legal demand, possibly by a server other than the one you were trying to reach.
- What it does not prove
- It does not mean your subscription has expired, and it does not say who sent it unless the response explains that.
This article does not explain how to get around a legal block. If a 451 is genuine, the response and the service's own support are the places to look; circumvention is not a fix.
500, 502, 503 and 504: Four Different Server-Side Failures
All four are 5xx codes: the server “is aware that it has erred or is incapable” of performing the request. They are not four ways of saying “the provider is down”, and they point to different places.
500 Internal Server Error
The server “encountered an unexpected condition that prevented it from fulfilling the request” (RFC 9110). It names no cause. If only one item returns 500 while others work, report that item; if many requests return 500, note the code, the time, the action and the device or player, and report it.
502 Bad Gateway
The server, “while acting as a gateway or proxy, received an invalid response from an inbound server” it needed (RFC 9110). The server that answered you is working; something behind it sent back a response it could not use. That may be another proxy, the application or a stream source, and the code alone does not say which.
503 Service Unavailable
The server “is currently unable to handle the request due to a temporary overload or scheduled maintenance” (RFC 9110). It may send a Retry-After header; respect any wait time and avoid rapid retries. The standard also notes that servers are not required to use 503 when overloaded, as some simply refuse the connection. Where 429 is about your request rate, 503 is about the server's current state.
504 Gateway Timeout
The server, “while acting as a gateway or proxy, did not receive a timely response from an upstream server” it needed (RFC 9110). The wait happened beyond the server that replied, and the 504 itself reached you, so it does not show that your home internet is at fault.
401 vs 403 vs 429
- 401: authentication is missing or was not accepted. Check the login details.
- 403: the server understood the request and refuses it. Read the message, and do not resend the same details automatically.
- 429: too many requests in a period of time. Stop and wait, respecting any Retry-After.
None of the three, on its own, tells you about the subscription's status or the service's policies; for that you need the message sent with the code, or the service's support.
502 vs 503 vs 504
- 502: a gateway got an invalid response from the server behind it.
- 503: the server that answered cannot handle requests right now.
- 504: a gateway got no response in time from the server behind it.
502 Bad Gateway
504 Gateway Timeout
What to Try Before Reinstalling Anything
- Record the exact code and the full message.
- Note where it happens: login, playlist, guide, every channel, one channel, or one film or episode.
- Try another, unrelated channel or item.
- Check whether login, the playlist and the guide still load.
- If the code is 429, or the player shows a wait time, stop and wait instead of retrying.
- Try another device or player only if it changes one thing at a time.
- Contact support with what you recorded.
Clearing the cache or app data, reinstalling, changing DNS or using a VPN are not default fixes for an HTTP error code: they change several things at once, some remove your settings, and repeated attempts can make a rate limit worse.
What to Send Support
Before you get in touch, note:
- The exact code and the full error message.
- The device, and the player app's name.
- Roughly when it happened.
- Whether it happens at login, while loading the playlist or guide, or during playback.
- One channel or all channels, and whether it is live TV or a film or episode.
- Whether another device or player shows the same result.
Never post your username, password, Xtream Codes details, playlist addresses that contain login details, MAC address, device key or other account information publicly, for example in forums or comments.
tereatv customers can send these details to tereatv support on WhatsApp or through the contact page. For general questions about the service, see common tereatv questions.
Sources
- RFC 9110: HTTP Semantics (401, 403, 404, 410, 500, 502, 503, 504, Retry-After)
- RFC 6585: Additional HTTP Status Codes (429)
- RFC 7725: An HTTP Status Code to Report Legal Obstacles (451)
- Hypertext Transfer Protocol (HTTP) Status Code Registry (IANA)
Related Pages
Setup Guide
Step-by-step activation in IBO Player, on Fire TV and with Xtream Codes.
Open the setup guideFAQ
Short answers about plans, devices, simultaneous streams and setup.
Read the FAQContact
Ask a question on WhatsApp before or after you order.
Contact tereatv
