Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Dataflow Failed - Internal Error

Hi All,   Recently a dataflow which was working stopped working for us. I found which entity was causing the error – an entity called 'LicenseRenewals'. I checked out its query and it was all good....
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi All,

     

    Seems that during a dataflow refresh a file was created didn't get cleared out - and the presence of this file blocked subsequent refreshes.

     

    Our Licenses entity has a number of tables, but the refresh always failed when it got to the LicenseRenewals table. In Azure Storage explorer I could see there was also a LicenseRenewals.CSV file in the Licenses folder, but no such file exists for the other folders.

     

     

    On a whim I renamed this file and the extract worked again. Basically this file should not be there. These 'root' CSV files get created during data extract, then moved to their respective snapshot folder, then the 'root' CSV is removed and the next folder updated.

     

    MS Support indicated that, for some as yet unknown reason, it looks like in our case the 'root' CSV file was not removed, and therefore on the next refresh it failed because it's trying to create a LicenseRenewals.CSV file but a duplicate is already present so it bombs out with the 'internal error' message in the logs.

     

    So - the solution in our case was to remove/rename the offending 'root' CSV file.

     

    We're using our own ADLSGen2 storage, so current working theory is that some interuption happened to that which stopped the file being removed normally and left this file as a hangover. But thats speculative. 

     

    Hopefully this answer helps others!