Skip to content

Commit 8a82f2e

Browse files
committed
testing reference
1 parent 62b04dc commit 8a82f2e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

powerapps-docs/developer/common-data-service/webapi/compose-http-requests-handle-errors.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Compose HTTP requests and handle errors (Common Data Service)| Microsoft Docs"
33
description: "Read about the HTTP methods and headers that form a part of HTTP requests that interact with the Web API and how to identify and handle errors returned in the response"
44
ms.custom: ""
5-
ms.date: 04/03/2020
5+
ms.date: 08/09/2020
66
ms.service: powerapps
77
ms.suite: ""
88
ms.tgt_pltfrm: ""
@@ -176,6 +176,14 @@ Details about errors are included as JSON in the response. Errors will be in thi
176176
>
177177
> If you find that an application you use has a dependency on this property after this change is deployed, you can contact support and request that the change be temporarily removed for your environment. This will provide time for the application developer to make appropriate changes to remove this dependency.
178178
179+
### Include additional details with errors
180+
181+
Some errors can include additional details using *annotations*. When a request includes the `Prefer: odata.include-annotations="*"` header, the response will include all the annotations which will include additional details about errors and a URL that can be used to be directed to any specific guidance for the error.
182+
183+
Some of these details can be set by developers writing plug-ins. For example, Let’s say you have a plug-in that throws an error using the <xref:Microsoft.Xrm.Sdk.InvalidPluginExecutionException.#ctor(Microsoft.Xrm.Sdk.OperationStatus,System.Int32,System.String)> constructor. This allows you to pass an OperationStatus, a custom integer error code, and an error message.
184+
185+
186+
179187
180188
### See also
181189

0 commit comments

Comments
 (0)