Toolman

HTTP 403 — Forbidden

4xx Client Error

What it means

The server understood the request and knows who you are, but you are not allowed to do this. Authentication will not help.

What to do about it

Check the account's roles or scopes. On static hosting, a 403 on a directory usually means directory listing is disabled or file permissions are wrong.

Where it sits

403 belongs to the 4xx family: The request contains something the server will not or cannot process. The fix is normally on the client side.

HTTP/1.1 403 Forbidden

Checking it yourself

# see the status code and headers only
curl -sI https://example.com/path

# follow redirects and print each hop
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/path

# JavaScript
const r = await fetch(url);
console.log(r.status, r.statusText);

Other 4xx codes

All HTTP status codes