Skip to content

Commit 2959060

Browse files
authored
upload "Other" article
1 parent 6208ea4 commit 2959060

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: String Or Binary Data Would Be Truncated Error
3+
description: Solves an issue where you can't delete records from a custom table in Microsoft Dynamics 365 Customer Service.
4+
author: Yerragovula
5+
ms.author: srreddy
6+
ms.reviewer: courtser
7+
ai-usage: ai-assisted
8+
ms.date: 04/16/2025
9+
ms.custom: sap:Other, DFM
10+
---
11+
# "String or binary data would be truncated" error when deleting records from a custom table
12+
13+
This article provides guidance on resolving an error that occurs when you try to delete records from a custom table in Dynamics 365 Customer Service.
14+
15+
## Symptoms
16+
17+
When you try to delete records from a [custom table](/power-apps/maker/data-platform/create-custom-entity), you receive the following error message:
18+
19+
> String or binary data would be truncated.
20+
21+
The error message usually specifies the table and [column](/power-apps/maker/data-platform/types-of-fields) that cause the truncation error.
22+
23+
## Cause
24+
25+
The issue occurs because the data in one or more columns exceeds the maximum allowed character limit for those columns. Specifically, the data length in the affected column(s) is larger than the defined maximum character count.
26+
27+
## Resolution
28+
29+
To resolve this issue, follow these steps:
30+
31+
1. [Select your environment in Power Apps](/power-apps/maker/canvas-apps/sign-in-to-power-apps#choose-an-environment).
32+
2. In the left navigation, select **Tables**, and then select the table where the error occurs.
33+
3. Select **Columns**, and locate the problematic column.
34+
4. Expand **Advanced options** for the selected column.
35+
36+
> [!TIP]
37+
> You also can find the **Advanced options** in the [table designer](/power-apps/maker/data-platform/create-edit-entities-portal?tabs=excel#table-designer).
38+
39+
5. Increase the **Maximum character count** to accommodate the data length.
40+
6. Save and publish the changes.
41+
7. After updating the maximum character count, proceed to delete the records again.
42+
43+
If increasing the maximum character count doesn't solve the issue, you can try truncating the data in the column before deleting the records.

support/dynamics-365/customer-service/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,7 @@
234234
items:
235235
- name: '"Resource not found" error when configuring WhatsApp channel'
236236
href: omnichannel-for-customer-service/resource-not-found-error-when-configuring-whatsapp-channel.md
237+
- name: Other
238+
items:
239+
- name: '"String or binary data would be truncated" error when deleting records from a custom table'
240+
href: other/string-or-binary-data-would-be-truncated-error.md

0 commit comments

Comments
 (0)