Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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
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.
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.
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.
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.
No, I'm using a REST API. When I use a dataflow Gen1, I'm not having any issues.
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,
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
50 | |
28 | |
14 | |
14 | |
4 |
User | Count |
---|---|
65 | |
58 | |
23 | |
8 | |
7 |