Medium severitydata source
Power BI Refresh Error:
DF-SQLDW-ErrorRowsFound
What does this error mean?
One or more rows failed during write to Azure Synapse Analytics because they violate a constraint (NOT NULL, unique key, data type overflow) in the Synapse table.
Common causes
- 1A source row contains a null value in a column that is defined as NOT NULL in the Synapse table
- 2A string value exceeds the column's VARCHAR or NVARCHAR length limit in Synapse
- 3A numeric value is out of range for the Synapse column's precision and scale
- 4A source column type cannot be cast to the Synapse column type during bulk insert
How to fix it
- 1In ADF Studio, open the data flow and click the Synapse sink transformation.
- 2Go to the Settings tab and find the Error row handling section — set it to 'Skip incompatible rows' or 'Redirect incompatible rows to file' to prevent one bad row from failing the entire run.
- 3For 'Redirect', configure a linked service pointing to an error output path (Blob or ADLS Gen2) to capture the rejected rows for inspection.
- 4After configuring error row handling, run the pipeline and then inspect the redirected rows to identify the root cause.
- 5Fix the data quality issues upstream (add null handling, string truncation, or type casting in a derived column transformation) to prevent rows from being rejected.
- 6Once the upstream data is clean, remove the redirect handling if desired.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide