---
title: Adding rejection rules
description: Add a rejection rule to specify an action to take when a request to an application or resource is rejected by policy evaluation.
component: pingaccess
version: 9.0
page_id: pingaccess:pingaccess_user_interface_reference_guide:pa_adding_rejection_rules
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/pingaccess_user_interface_reference_guide/pa_adding_rejection_rules.html
revdate: February 6, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Adding rejection rules

Add a rejection rule to specify an action to take when a request to an application or resource is rejected by policy evaluation.

## About this task

A rejection rule uses [Rejection handlers](pa_rejection_handlers.html) to define which action you want to take. You can either:

* Reject the request and display an error template.

* Redirect the user to another Uniform Resource Locator (URL) *(tooltip: \<div class="paragraph">
  \<p>Identifies a resource according to its internet location.\</p>
  \</div>)* for error details, instructions, or additional actions.

## Steps

1. Click **Access**, then go to **Rules > Rules**.

2. Click **[icon: plus, set=fa]Add Rule**.

3. In the **Name** field, enter a unique name, up to 64 characters long.

   Special characters and spaces are allowed.

4. From the **Type** list, select **Rejection**.

5. In the **Rejection Handler** field, specify the rejection handler you want to use for the rule.

6. Click **Save**.
