Skip to content

Commit 3fc40a2

Browse files
authored
Updates from editor
1 parent be21fa9 commit 3fc40a2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

support/power-platform/dataverse/dataverse-web-api-and-sdk/web-api-client-errors.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot Web API client errors
33
description: Provides resolutions for the common client errors that occur when you use the Dataverse Web API.
4-
ms.date: 01/23/2024
4+
ms.date: 01/24/2024
55
ms.custom: sap:Dataverse Web API and SDK\Odata endpoint errors
66
author: divkamath
77
ms.author: dikamath
@@ -113,7 +113,7 @@ HTTP/1.1 404 Not Found
113113

114114
### Cause
115115

116-
This error occurs when the incorrect HTTP method is applied to a function or action. In this case, the [WhoAmI function](xref:Microsoft.Dynamics.CRM.WhoAmI) requires the use of `GET` but `POST` was used.
116+
This error occurs when the incorrect HTTP method is applied to a function or action. In this case, the [WhoAmI function](xref:Microsoft.Dynamics.CRM.WhoAmI) requires the use of `GET` but `POST` is used.
117117

118118
### How to avoid
119119

@@ -205,7 +205,7 @@ HTTP/1.1 400 Bad Request
205205

206206
#### Cause
207207

208-
This error occurs because there's no single-valued navigation property in the contact entity type named `parentcustomerid`. For more information, see [contact EntityType > Single-valued navigation properties](/power-apps/developer/data-platform/webapi/reference/contact#single-valued-navigation-properties).
208+
This error occurs because there's no single-valued navigation property in the contact entity type named `parentcustomerid`. For more information, see [Single-valued navigation properties](/power-apps/developer/data-platform/webapi/reference/contact#single-valued-navigation-properties).
209209

210210
`parentcustomerid` is the logical name of a lookup column in the contact table. All lookups have one or more single-valued navigation properties in OData. The names of the lookup properties don't always match the corresponding single-valued navigation property name.
211211

@@ -275,9 +275,9 @@ Ensure all line endings in the `$batch` request body are `CRLF`. If you can't us
275275

276276
### Symptoms
277277

278-
The error occurs when the [Dataverse Web API](/power-apps/developer/data-platform/webapi/overview) receives a request with an invalid `odata.include-annotations` value in the `Prefer` request header value. This issue occurs when the request is sent using the `POST`, `PATCH`, `PUT` or `GET` HTTP methods with a `Prefer` request header that contains an invalid or improperly formatted value.
278+
The error occurs when the [Dataverse Web API](/power-apps/developer/data-platform/webapi/overview) receives a request with an invalid `odata.include-annotations` value in the `Prefer` request header value. This issue occurs when the request is sent using the `POST`, `PATCH`, `PUT`, or `GET` HTTP methods with a `Prefer` request header that contains an invalid or improperly formatted value.
279279

280-
In the following example, the `odata.include-annotations` value incorrectly includes backslashes '`\`' to escape the quote characters.
280+
In the following example, the `odata.include-annotations` value incorrectly includes backslashes (\) to escape the quote characters.
281281

282282
**Request**
283283

@@ -307,7 +307,7 @@ HTTP/1.1 400 Bad Request
307307

308308
### Cause
309309

310-
To provide a more secure service, we have fixed an issue where invalid `Prefer` request header values were processed without validation when using the `POST`, `PATCH`, or `PUT` HTTP methods. Now, validation is enforced for all HTTP methods. This error will occur starting with Dataverse version 9.2.2412.3 that began deployment in January 2025 and will be deployed to all regions by February 2025.
310+
To provide a more secure service, we fix an issue where invalid `Prefer` request header values are processed without validation when using the `POST`, `PATCH`, or `PUT` HTTP methods. Now, validation is enforced for all HTTP methods. This error occurs starting with Dataverse version 9.2.2412.3 that begins deployment in January 2025 and will be deployed to all regions by February 2025.
311311

312312
### How to avoid
313313

0 commit comments

Comments
 (0)