|
2 | 2 | title: Error handling in Azure API Management policies | Microsoft Docs
|
3 | 3 | description: Learn how to respond to error conditions that may occur during the processing of requests in Azure API Management.
|
4 | 4 | author: dlepow
|
5 |
| -manager: erikre |
6 |
| -ms.assetid: 3c777964-02b2-4f55-8731-8c3bd3c0ae27 |
7 | 5 | ms.service: azure-api-management
|
8 | 6 | ms.topic: article
|
9 |
| -ms.date: 01/10/2020 |
| 7 | +ms.date: 01/06/2025 |
10 | 8 | ms.author: danlep
|
11 | 9 | ---
|
12 | 10 |
|
@@ -77,9 +75,9 @@ When an error occurs and control jumps to the `on-error` policy section, the err
|
77 | 75 | | `Source` | string | Names the element where the error occurred. Could be either policy or a built-in pipeline step name. | Yes |
|
78 | 76 | | `Reason` | string | Machine-friendly error code, which could be used in error handling. | No |
|
79 | 77 | | `Message` | string | Human-readable error description. | Yes |
|
80 |
| -| `Scope` | string | Name of the scope where the error occurred and could be one of "global", "product", "api", or "operation" | No | |
| 78 | +| `Scope` | string | Name of the [scope](api-management-howto-policies.md#scopes) where the error occurred. | No | |
81 | 79 | | `Section` | string | Section name where error occurred. Possible values: "inbound", "backend", "outbound", or "on-error". | No |
|
82 |
| -| `Path` | string | Specifies nested policy, for example "choose[3]/when[2]". | No | |
| 80 | +| `Path` | string | Specifies nested policy hierarchy, for example "choose\\otherwise\\choose[3]\\when[2]". Multiple instances of a nested policy are indexed from 1. | No | |
83 | 81 | | `PolicyId` | string | Value of the `id` attribute, if specified by the customer, on the policy where error occurred | No |
|
84 | 82 |
|
85 | 83 | > [!TIP]
|
@@ -175,11 +173,4 @@ and sending an unauthorized request will result in the following response:
|
175 | 173 |
|
176 | 174 | 
|
177 | 175 |
|
178 |
| -## Next steps |
179 |
| - |
180 |
| -For more information working with policies, see: |
181 |
| - |
182 |
| -- [Policies in API Management](api-management-howto-policies.md) |
183 |
| -- [Transform APIs](transform-api.md) |
184 |
| -- [Policy Reference](./api-management-policies.md) for a full list of policy statements and their settings |
185 |
| -- [Policy samples](./policy-reference.md) |
| 176 | +[!INCLUDE [api-management-policy-ref-next-steps](../../includes/api-management-policy-ref-next-steps.md)] |
0 commit comments