Skip to content
Cloudflare Docs

Error 403

403 Forbidden

The 403 Forbidden status code indicates that the client's request was understood by the server but cannot be fulfilled due to insufficient permissions to access the requested resource. For more details, refer to RFC 7231.

Common use cases

If you encounter a 403 error without the Cloudflare branding, this means that the error is being returned directly by the origin web server, not Cloudflare. This is typically related to permission rules set on your server. Common reasons for this error are:

  • Permission rules configured on the origin web server (for example, in an Apache .htaccess file).
  • Mod_security rules.
  • IP deny rules, such as blocking traffic from certain IP ranges. Make sure that Cloudflare's IP ranges are not being blocked.

Cloudflare-specific information

Cloudflare may serve 403 responses in the following scenarios:

Cloudflare may also serve an unstyled 403 error page in specific cases. These errors are not logged because they occur early in Cloudflare's infrastructure, before domain configuration is loaded. An example is:

  • SNI: A 403 error is returned when the client sends a host that does not match the SNI (Server Name Indication).