We had to change source table column width from 50 to 240 for some attributes of one dimension. We did database changes and did refresh in DSV, and we started getting this error.
To solve this we went opened the Dimension. Navigate to Dimension attribute properties and changed the value from 50 to 240 at 2 places – keys column and name column => data size.
We did Rebuild and deploy. It worked.