Forum Discussion
Mashup engine error when refreshing Dataflow Gen 2 with Lakehouse as destination
I am struggling with a similar issue - MashupException.Error: Expression.Error: We can't convert values of this type to JSON. Details: Reason = Expression.Error
The Dataflow appears to be working fine in the editor, but when it is published and refreshed it fails with this error.
The Dataflow extracts data from Excel files via an ADLS Gen2 shortcut in the Lakehouse.
I've tried various data types, removing any spaces and special characters from column names, removing columns etc. but I'm out of ideas now and haven't been able to find a way to narrow this error down further - more details in the erorr message or a method to debug would be much welcomed.
Any suggested solutions please?
OK - so I created a new Dataflow and copied the M queries across from the one which is failing and this new one works fine.
I assume there is a bug or something corrupting the original Dataflow.
Not an ideal solution, but might help others as a workaround until the root cause can be identified.