← Back to all status codes
4xx Series
Terminal (Do not automatically retry)
403 Forbidden
The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
🌍
SEO Impact
Pages blocked aggressively. Search bots cannot index 403 pages.
🔧
Common Causes
- 1Lacking IAM roles
- 2IP address blocked by WAF
- 3Directory listing disabled
Code Examples
Node.js (Express)
res.status(403).json({ error: 'Access Denied' });