403 Forbidden

The server knows who you are and says no.

4xx · Client error

What it means

The server understood the request and refuses to fulfil it. Unlike 401, authenticating (again) won't help: the server knows, or doesn't care, who you are, and the answer is no.

Why you're seeing it

  • The user lacks permission for this resource or action.
  • A firewall or WAF rule blocking the request, IP or country.
  • Directory listing turned off, or file permissions on the server.
  • A missing or invalid CSRF token.

How to fix it

  • Check the account's roles and the resource's access rules.
  • If a WAF blocks you, look for the rule that matched in its logs.
  • To hide that a resource exists at all, servers may return 404 instead.

Example response

HTTP/1.1 403 Forbidden
Content-Type: application/json

{"error": "insufficient_scope", "required": "admin"}