← All status codes

403

Forbidden

I know who you are. The answer is still no.

When to actually use it

Authenticated but lacking permission. Don't leak whether the resource even exists.

Where people mess up

Using 403 for auth failures (that's 401), or revealing a resource's existence via a 403 vs 404 distinction.

The joke

403 is the bouncer who looked at your ID, looked at the list, and still crossed their arms.