handy.moe

All tools / Debug tools / Status codes

HTTP 403 Forbidden

The server understood you and refuses. Logging in again will not help: you are not allowed.

This page runs in your browser and makes no requests.

403 Forbidden

The server understood you and refuses. Logging in again will not help: you are not allowed.

Common causes

Missing permission or role, an IP block, a WAF or bot rule, a directory with no index file, CORS or CSRF failure on some stacks, wrong file permissions.

What to do

Check the permissions of the account or token, firewall and WAF rules, and file ownership. Some sites return 403 instead of 404 to hide that a page exists.

Class: 4xx Client error · Defined in RFC 9110 §15.5.4

How to use it

  1. Look at the response in your browser's Network tab, or run curl -i URL to see the status line and headers.
  2. Read the response body: many servers explain the exact reason there.
  3. Fix the cause above and send the request again.

Questions

Is 403 an error?

Yes: it is a client error, which means the request needs to change. The server is working as designed.

Should I retry a 403?

No. Sending the same request again will give the same answer. Change something first.

Where can I see the 403 in my browser?

Open the developer tools (F12 or Cmd+Option+I), go to the Network tab, reload, and look at the Status column. Click the request and open the Response and Headers tabs for the details.