What's happening?
Unable to delete certain records from a custom table due to an error indicating that string or binary data would be truncated.
Reason:
This behavior occurs because the data in a specific column exceeds the maximum allowed character limit, causing a truncate error. Specifically, the column data length is larger than the defined maximum character count.
Resolution:
To resolve this behavior, follow these steps:
- Navigate to Power Apps and select your environment.
- Click Tables, then select the affected table.
- Select Columns, then select the problematic column.
- Expand "Advanced options".
- Increase the "Maximum character count" to accommodate the data length.
- Save and publish the change
- After updating the maximum character count, proceed to delete the records again.
Following these steps will allow the records to be updated and subsequently deleted successfully.
