A 403 is one of the more frustrating errors to meet, because everything looks healthy. The server answers quickly, the address is right, the page plainly exists, and yet you get a flat refusal: Forbidden. The usual tricks, refreshing or logging in again, change nothing. That stubbornness is the clue. A 403 is not a failure. It is a decision.

This guide explains what 403 actually means, how it differs from 401, 404 and 410, the causes behind most 403s, and how to look the code up with the HTTP Status Code Checker on Ovatly.

Contents

  • Quick answer
  • What 403 means, precisely
  • The class rules of thumb
  • 403 versus 401, 404 and 410
  • The usual causes of a 403
  • Fixes, matched to the causes
  • How to look up a status code, step by step
  • Worked example: reading a full response line
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

A 403 Forbidden response means the server understood your request and refuses to fulfil it. The resource exists, but a rule blocks this request: wrong permissions, a denied address, or a security filter. It belongs to the 4xx class, which puts the request side at fault. It is not 401, which means you have not authenticated and logging in may fix it, and it is not 404, which means the server cannot find anything at that address. To read the meaning and common causes of any code, paste it into the HTTP Status Code Checker.

What 403 means, precisely

Every HTTP response carries a three-digit code, and 403 sits in the 400s. The server is saying: I understood this request, and I will not serve it. That is different from a crash or a missing page. The refusal can target the visitor's identity, their IP address, or the file's permissions, and because it is deliberate, repeating the identical request gets the identical answer.

The class rules of thumb

The first digit of a code tells you whose problem it is: 2xx means it worked, 3xx means look elsewhere, 4xx means the request was at fault, and 5xx means the server was. A 403 therefore points at the request side: something about who is asking, or from where, fails the server's rules.

403 versus 401, 404 and 410

These four codes get confused constantly, and the differences decide what to do next. 401 Unauthorized means you are not authenticated: the server does not know who you are, and logging in or sending a valid token may turn the answer into a success. 403 means the server knows enough about you, or your address, and still refuses: logging in again rarely helps.

404 Not Found means the server has nothing at that address. 410 Gone is stronger: the content was removed on purpose and permanently, like a discontinued product, and it tells search engines to drop the page promptly, while 404 leaves them checking back. Four codes, four worlds: prove who you are (401), you may not have it (403), it is not here (404), it was here and is gone for good (410).

The usual causes of a 403

Most 403s trace back to a short list of server-side settings:

  • File and directory permissions. If the web server process cannot read the file or enter its directory, it refuses the request.
  • A missing index file. Ask for a directory with no index page, on a server with directory listing off, and many servers answer 403.
  • Deny rules in the server configuration. Files such as .htaccess on Apache servers can forbid an address range, a folder, or a file type outright.
  • IP and geography blocks. The site, its firewall or its CDN may refuse your address or country.
  • Hotlink protection. An image that loads fine on its own site can return 403 when another site asks for it.
  • Security filters and firewalls. A plugin that dislikes a URL pattern or a burst of requests can answer 403 even for legitimate traffic.
  • Ownership problems after a migration. Files uploaded by a different account than the server runs as often arrive unreadable to it.

Fixes, matched to the causes

If you run the site, work through the list in the same order. Check file permissions first: web files are commonly readable by everyone, and directories need execute permission so the server can enter them. Then check ownership, especially after moving hosts. Read the deny rules and narrow anything broader than intended. If a whole folder returns 403, look for the missing index file. If the block follows one visitor, suspect the IP rules and the security plugin's blocklist. If only hotlinked media fails, adjust the referrer protection.

If you do not run the site, your options are honestly limited: try a different network in case your address is blocked, and contact the site owner with the exact time and address you visited. Repeating the request will not work.

How to look up a status code, step by step

  1. Note the code exactly as it appeared: the bare number, or the full response line your log or API client showed.
  2. Open the HTTP Status Code Checker and type the code (403), a full response line such as HTTP/1.1 503 Service Unavailable, or a keyword such as timeout.
  3. Read the explanation card: the class, what the code actually means, and the common causes.
  4. Or browse and filter the full reference table below the result to compare neighbouring codes.

The checker is a lookup for codes you already have. It never contacts a server, so nothing about your sites is sent anywhere.

Worked example: reading a full response line

Say your monitoring shows the response line HTTP/1.1 503 Service Unavailable. Pasted into the checker, it extracts the code 503 and explains it: class Server Error (5xx), the server cannot handle the request right now, usually temporarily, with overload, maintenance and in-progress deployments as common causes. Your 403 line works the same way: the checker extracts 403, places it in the Client Error class (4xx), and points you at the server's rules instead of its health.

A second lookup shows why precision matters. Looking up 410 gives "Gone": deliberately and permanently removed, stronger than a 404. If your logs show 410s where you expected 404s, someone configured that on purpose, and the fix is a content decision.

Limitations

The checker explains codes; it does not fetch or test any live website, so it cannot tell you whether your site is up, and it cannot see the server rule that produced your 403. Its reference covers the standard codes developers meet daily, 30 codes across the 1xx to 5xx classes, and a valid but uncommon code still gets its class explanation rather than a full card. Your own server may refuse a request for a reason specific to its configuration, and only its logs will name it.

Common mistakes

  • Treating a 403 as a server failure and waiting for it to heal. It is a rule, and it will refuse the same request tomorrow.
  • Logging in repeatedly. That is the remedy for 401; with 403 the server has already decided.
  • Assuming the page does not exist. Nonexistence is 404, and deliberate removal is 410. A 403 usually means the page is present and protected.
  • Debugging the browser when the refusal is configured on the server. Visitors cannot fix a 403; owners can.
  • Loosening every permission to make the error go away. Over-broad permissions clear the 403 and open a worse problem; fix the specific file or rule instead.

FAQs

Can a status code checker tell whether my website is up? No. A reference checker explains codes you paste in; it does not fetch URLs or contact your server. Your host's uptime monitor or a status page is the right tool for live checks.

What is the real difference between 401 and 403? 401 means you are not authenticated: log in, or send a valid token, and it may work. 403 means the server knows who you are and still refuses; logging in again rarely helps.

Is a 403 my fault or the server's? The 4xx class puts the request side at fault: something about the request, the identity or the address is not allowed. The rule doing the refusing is configured on the server, though, so the fix usually needs the site owner or administrator.

When should a site use 410 instead of 404? When content was deliberately and permanently removed, like a discontinued product. 410 tells search engines to drop the page promptly; 404 leaves them checking back for a while.

Why do I see 502 and 504 together so often? Both come from proxies. 502 means the upstream sent an invalid response or is down; 504 means the upstream took too long to respond at all.

Conclusion

A 403 is a server saying no on purpose: the request was understood, the resource exists, and a rule refuses it. Read it as a permissions and configuration problem, not an outage. The HTTP Status Code Checker gives you the class, meaning and common causes of any code you paste, without ever contacting a live site. And when a log line pairs that 403 with a browser string you cannot read, the companion guide decodes the other half: What Each Part of a User Agent String Means.

More tools for this kind of work live in the Developer Tools archive.