Medium severitydata flow
Power BI Refresh Error:
DF-Executor-SourceInvalidPayload
What does this error mean?
The data flow source received a payload that does not match the configured format or schema.
Common causes
- 1The source dataset is configured as one format (e.g., Parquet) but the actual files are in a different format (e.g., CSV or JSON), causing the parser to read an invalid binary payload
- 2A source file was partially written by an upstream process that has not yet finished — the data flow reads a truncated file and fails to parse the incomplete payload
- 3A REST or OData source returned an error response (HTML error page or non-JSON body) instead of the expected data payload
- 4A Parquet or Avro file is corrupted, zero-byte, or was overwritten mid-run by a concurrent process
How to fix it
- 1Check the ADF activity run output for the specific row or record that triggered the invalid payload error.
- 2Open the source dataset and verify the file format settings match the actual format of the source data — a CSV configured as Parquet will produce invalid payload errors.
- 3Enable debug mode and preview the source data to see if any files are malformed, truncated, or contain encoding issues.
- 4If reading from a REST or OData source, test the API endpoint directly (curl or Postman) to confirm it is returning well-formed responses.
- 5Check whether any source files are zero-byte or partially written by an upstream process that has not yet completed.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide