509 Bandwidth Limit Exceeded

The site has used up the data transfer its hosting plan allows.

Last updated . How this page is checked.

Status code509
Status textBandwidth Limit Exceeded
Category5xx Server Error
Response has bodyUsually
Defined byHosting control panels (not an IANA-registered code)

What does 509 Bandwidth Limit Exceeded mean?

The site has used up the data transfer its hosting plan allows. It is numbered in the 5xx Server Error range but is not a registered HTTP status code, so the general meaning of that class is only a rough guide to it.

When do APIs return 509?

On shared hosting, where a control panel enforces a monthly bandwidth quota per account and serves this error to every visitor once it is spent. A traffic spike, large downloads, images hot-linked from other sites and aggressive crawlers are the usual ways a quota runs out early.

How to fix a 509 Bandwidth Limit Exceeded

As a visitor, there is nothing to do but come back later. As the site owner, the limit resets at the start of the next billing period, or sooner if you raise it or upgrade the plan. To stop it recurring, find what consumed the transfer in the hosting panel's statistics, put a CDN in front of static files, and block hot-linking. An API you design yourself should use 429 for a caller over quota, not this code.

Reproduce a 509 response

The fastest way to understand a status code is to trigger one and read the full response. Open the API tester and send a request to https://httpbin.org/status/509 — you will see the 509 status along with every response header the server sent. Comparing those headers against a working request is often what reveals the cause.

That response only imitates the number, which is useful for checking how your own client, alerting or retry logic treats a 509. A real one comes from the software named in the table above, in the circumstances this page describes.

When you are debugging a real endpoint, check the response headers as carefully as the body, and confirm you are using the right HTTP method for the operation.

Related 5xx status codes

See also

References