Skip to content
MtrXTools

403 Forbidden

The server refuses to allow this request

Seen in Browsers, APIs, nginx, Apache, CDNs

The server understood who you are, or does not care, and still refuses access to this resource.

Common causes

  • The account or API key lacks permission for this resource.
  • File or directory permissions stop the web server reading the file.
  • A directory was requested with no index file and directory listing is off.
  • A WAF, IP allowlist or geo block rejected the client.

How to fix it

  1. Check the user's role or the API key's scopes.
  2. Make the files readable by the web server user (e.g. chmod 644 files, 755 directories).
  3. Add an index file or request the full file path.
  4. Check firewall, WAF and IP restriction rules for the client's address.
Check the response

Got a different message? Paste it into the error explainer.

Related errors

All 51 HTTP & CDN errors