Look up a Rails HTTP Status Code

403 - Forbidden

Rails HTTP Status code :forbidden

When to use status code 403

The request was a valid request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference. 403 error semantically means "unauthorized", i.e. "you don't have necessary permissions for the resource".