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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
JK_CM
New Member

Dataflow Gen2 Error message: Unexpected error occurred while creating your data destination

I'm having issues with refreshing a dataflow gen2. It gives the Error code: 101238, of which I can't find any documentation. It seems to suggest that the datatypes are not correct. However, I've tried refreshing it with a simple table containing all text columns and I still get the same error message. 

 

Is it possible the source (AFAS) has something to do with it? I can query the data in the dataflow just fine. It's really the writing to the lakehouse (I've also tried Warehouse as a destination) that doesn't work.

 

I've created another dataflow with SQL as a source and that has not had any issues. 

 

5 REPLIES 5
v-agajavelly
Community Support
Community Support

Hi @JK_CM 

Totally get that, when something so simple won’t go through. And yes, it’s odd that even a tiny table with all text fields fails. Good to hear notebooks are working as a workaround but agreed, it’s not as convenient as dataflows for quick transformations. This might be a backend bug with the Gen2 writer. Might be worth logging a support ticket with Microsoft, especially since Gen1 works fine and it’s clearly not a data issue. I’d recommend raising a support ticket with Microsoft so it’s officially logged and can help influence future improvements. You can do that here. https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket

Regards,
Akhil.

v-agajavelly
Community Support
Community Support

Hi @JK_CM 

Thanks for confirming it's a REST API. Since Gen1 works fine, the issue is likely with how Gen2 handles writing to the Lakehouse or Warehouse.

A few quick things to check.

  • Make sure all column names are clean (no special characters or duplicates).
  • Try manually setting data types instead of relying on auto-detection.
  • Test writing to a brand new Lakehouse or Warehouse to rule out schema conflicts.
  • Also try switching between append and replace as the load method.

Gen2 can be a bit sensitive with schema mapping, especially during write operations.

Let us know if any of these help.
____________________________________________________________________________________________________________________________

If the response helped resolve your issue, please consider marking it as Accepted as Solution and give it a thumbs up if you found it helpful.

Best regards,
Akhil.

I've tried this with a single table containing 9 rows and three text columns and am still getting the same error. I've switched to a notebook, which seems to work. It's very unfortunate, because I really like working with dataflows. 

JK_CM
New Member

No, I'm using a REST API. When I use a dataflow Gen1, I'm not having any issues. 

nilendraFabric
Community Champion
Community Champion

Hi @JK_CM 

 

by any chance the data source in your case is on prem and u are using data gateway 

 

Error 101238 in Dataflow Gen2 typically occurs when writing data to a Lakehouse or Warehouse destination, often linked to connectivity issues, gateway configurations,

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.