Back to all status codes

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

Read more on MDN

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

HTTP Status Codes Reference - Complete List with Descriptions