@http · HTTP status codes, explained HTTP/1.1 403 Forbidden ━━━━━━━━━━━━━━━━━━━━━━ 4xx · Client error The server knows who you are and says no. 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"} related 401 Unauthorized   404 Not Found   451 Unavailable For Legal Reasons spec RFC 9110 §15.5.4 https://www.rfc-editor.org/rfc/rfc9110#section-15.5.4 web https://athttp.com/403 ← curl athttp.com/402 curl athttp.com/404 →