HTTP Status Codes / 4xx HTTP Status Codes / HTTP 403

403 Forbidden

This is an educational reference page about HTTP 403 Forbidden. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed). This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.

What it means

HTTP 403 means the server understood the request and knows who the client is, but refuses to authorize access.

Common causes

How to fix it

Example response

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

{"error":"You do not have access to this project"}

Developer notes

A 403 response should not ask the client to log in again unless authentication is actually missing or invalid.

Related comparisons

4xx client error – the request contains bad syntax or cannot be fulfilled


HTTP status code lookup
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia