Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
cseajs
New Member

Error mirroring tables on Prem SQL to Fabric

We have 3 different databases on prem that I am trying to mirror to Fabric.  Twenty of the tables sync with no issues but in all 3 instances there are 2 tables ( all the same tables) that are having issues syncing.  It cannot be a data issue since the data is different in all 3 instances but the error makes me think it is a data / database issue.  The error is below.  

 

We encountered an error while parsing data file being used, please fix the file and try again. The error is: Exception reading the data file. Exception: Index was outside the bounds of the array., ErrorCode: InternalError, ErrorCode: InputValidationError

1 ACCEPTED SOLUTION
v-sdhruv
Community Support
Community Support

Hi @cseajs ,

The error suggests that the issue is likely related to how the data is being parsed—possibly due to malformed or inconsistent structure in the source files or tables  you can follow the checks suggested by @mabdollahi .

Additonally, you can
1.Try loading the tables manually into OneLake and use the “Load to Table” option to see if the issue reproduces.
2. Enable raw data preview in your pipeline to inspect malformed rows.

Hope this helps!
If the response has addressed your query, please accept it as a solution so other members can easily find it.
Thank you.

View solution in original post

5 REPLIES 5
v-sdhruv
Community Support
Community Support

Hi @cseajs ,

Just wanted to check if you had the opportunity to review the information provided. 
If you still face any issues feel free to reach out, we would be happy to address your query

Thank you.

v-sdhruv
Community Support
Community Support

Hi @cseajs ,

Just wanted to check if you had the opportunity to review the information provided. 
If any of the responses has addressed your query, please accept it as a solution  so that other members can fint it easily.

Thank you.

v-sdhruv
Community Support
Community Support

Hi @cseajs ,

Just wanted to check if you had the opportunity to review the information provided.  If the response has addressed your query, please accept it as a solution  so other members can easily find it.
Thank you.

 

v-sdhruv
Community Support
Community Support

Hi @cseajs ,

The error suggests that the issue is likely related to how the data is being parsed—possibly due to malformed or inconsistent structure in the source files or tables  you can follow the checks suggested by @mabdollahi .

Additonally, you can
1.Try loading the tables manually into OneLake and use the “Load to Table” option to see if the issue reproduces.
2. Enable raw data preview in your pipeline to inspect malformed rows.

Hope this helps!
If the response has addressed your query, please accept it as a solution so other members can easily find it.
Thank you.

mabdollahi
Advocate II
Advocate II

Hi @cseajs ,
The issue is likely due to unsupported or mismatched data types in those two specific tables; especially in primary keys or indexed columns. Even though the data is different, the table structure might include types like geometery, hierarchyid, or datetime2(7) that Fabric doesn't support well. Double-check the schema and data types across all three databases for those tables, clean up any null-only columns, and try syncing again.

Regards,
Mehrdad Abdollahi

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors