4xx Client Error

HTTP 403 Forbidden

The server understood the request but refuses to authorize it. Unlike 401, authenticating again will not help — the client simply does not have permission to access this resource.

Common Causes

  • Insufficient permissions for the requested resource
  • IP address blocked or blacklisted
  • Directory listing disabled on the server
  • CORS policy blocking the request

How to Fix

  1. 1Verify your account has the required permissions or role
  2. 2Check server access control lists and firewall rules
  3. 3Contact the administrator to request access
  4. 4Review CORS configuration if it's a cross-origin issue

Example

HTTP 403 Forbidden
GET /admin/settings HTTP/1.1
Authorization: Bearer user-token

→ 403 Forbidden
→ "Admin role required"

Related Client Error Codes