MetricSign
EN|NLRequest Access
Medium severitydata source

Power BI Refresh Error:
SqlBulkCopyInvalidColumnLength

What does this error mean?

A source value exceeds the maximum column length in the destination SQL table. The bulk copy operation rejects rows where string or binary data is too long for the target column.

Common causes

  • 1A source string column contains values longer than the VARCHAR or NVARCHAR(n) length of the destination SQL column
  • 2The destination table schema was modified (column shortened) after the ADF mapping was created
  • 3Data quality issues in the source system introduced unexpectedly long values

How to fix it

  1. 1Identify the offending column from the ADF error output and compare source data lengths to the destination column definition.
  2. 2ALTER the destination column to a larger length, or use NVARCHAR(MAX) if very long strings are expected.
  3. 3Add a data flow transformation before the copy to truncate or reject values that exceed the column length.
  4. 4Enable fault tolerance on the copy activity to log rows that exceed column lengths rather than failing the entire copy.

Frequently asked questions

Does this error affect all pipeline runs or just the current one?

Depends on the root cause. A persistent misconfiguration fails every run; a transient issue may resolve on retry. Check the run history.

Can this error appear in Azure Data Factory and Microsoft Fabric pipelines?

Yes — the same connector errors appear in both ADF and Fabric Data Factory pipelines.

How do I see the full error detail for an ADF pipeline failure?

In ADF Monitor, click the failed run, then the failed activity. The detail pane shows the error code, message, and sub-error codes.

Will downstream Power BI datasets be affected when an ADF pipeline fails?

Yes — a dataset refreshing after the pipeline will use stale data or fail if the target table was cleared. The Power BI refresh may succeed while serving wrong data.

Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-synapse-sql

Other data source errors