Back to all status codesRead more on MDN
403
Forbidden
Client Error
RFC 7231
The server understood the request, but is refusing to fulfill it.
Detailed Information
The 403 status code indicates that the server understood the request but refuses to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.
Common Examples
- •Accessing protected resources
- •API requests with insufficient permissions
Common Uses
- •API requests with insufficient permissions
- •Protected resources
Best Practices
- •Use when access is denied
- •Include a detailed error message
- •Ensure proper authentication and authorization mechanisms are in place
Additional Resources
Available for Freelance
Fullstack developer specializing in React, Next.js, and Node.js. Let's build something amazing together!
Stay in the loop
Get notified about new tools and updates