Forum Discussion
Dataflow Gen2 error - "Error in replacing table's content with new data in a version"
- 1 year ago
Hi useruserhi91
This error often occurs due to a combination of network instability, data size, or data structure inconsistencies when using Dataflow Gen2 with Dynamics 365 Business Central (D365 BC).
Steps you can try-
Confirm Connectivity and Stability
- Ensure a stable network connection between Microsoft Fabric and the D365 BC API.
- If the error mentions "transport connection forcibly closed", it could be caused by a timeout or API rate limits. Consider these actions:
- Test the connection to D365 BC using a smaller dataset to confirm whether the issue persists.
- Contact your D365 BC administrator to confirm that no rate limits or API restrictions are being hit.
Review the Data Source
- Verify that the generalLedgerEntries table does not contain problematic data, particularly in fields like dimensionSetLines that you’re expanding.
- Test loading the raw data without transformations to see if the issue lies in the data extraction step.
Modify Transformation Steps
Some of your transformations may contribute to the issue. To isolate the problem:
- Step-by-step testing: Incrementally apply transformations and test the load after each step to pinpoint where the error occurs.
- Custom Columns: Simplify or temporarily remove any custom column logic to verify if it’s causing issues.
- Filters: Apply filters to limit the data being processed during testing.
Validate Destination Compatibility
- Even if there’s no existing table with the same name in your lakehouse: Ensure that column names and data types in the transformed table match what the lakehouse can accept
Enable Diagnostics
In Microsoft Fabric Dataflows Gen2, enable verbose diagnostics: Open the Dataflow settings àEnable Tracing to capture detailed logs. Review logs for specific details about the failure.
**** If the issue persists, try exporting data from D365 BC manually to a CSV or Parquet file and loading it into your lakehouse directly. This bypasses potential API issues.
--If this helpful to resolve the issue, kindly accept it as solution--
Thank you
Hi useruserhi91 ,
The error message indicates a problem when refreshing Dataflow.
I have a few suggestions below:
- First, make sure your internet connection is stable, especially during a Dataflow refresh.
- Second, try clearing your browser cache and then re-sign in.
- Again, make sure that the account you are logged into while using Dataflow has the required permissions to access the Dynamics 365 BC data source. Then double-check the configuration of the Dynamics 365 BC datasource to make sure it is correct and up-to-date.
- Finally, try recreating Dataflow from scratch to check if the problem still exists.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!