Forum Discussion

DRSH_9876's avatar
DRSH_9876
Regular Visitor
1 year ago
Solved

DataFlow Gen2 - Errors while publishing details to warehouse

There was a problem refreshing the dataflow: 'Something went wrong, please try again later. If the error persists, please contact support.'. Error code: ActionUserFailure. (Request ID: fd78e68b-6f84-484f-b3fe-dff8c16de3f1).

apptiomcloudhub_WriteToDataDestination: There was a problem refreshing the dataflow: 'Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: DataSource.Error: Pipeline execution failed (runId: 534a8769-0465-45b3-a289-3c777a06e78e). Operation on target ca-7f06aab9-23b1-4b02-b698-37ac038fe93f failed: ErrorCode=DelimitedTextBadDataDetected,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Bad data is found at line 2 in source CloudabilityActualCostExport01192023_c06aab61-1b4f-4fb1-8799-fd6401d036c6.csv.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=CsvHelper.BadDataException,Message=You can ignore bad data by setting BadDataFound to null.
IReader state:
ColumnCount: 60
CurrentIndex: 21
HeaderRecord:
["InvoiceSectionName","AccountName","AccountOwnerId","SubscriptionId","SubscriptionName","ResourceGroup","ResourceLocation","Date","ProductName","MeterCategory","MeterSubCategory","MeterId","MeterName","MeterRegion","UnitOfMeasure","Quantity","EffectivePrice","CostInBillingCurrency","CostCenter","ConsumedService","ResourceId","Tags","OfferId","AdditionalInfo","ServiceInfo1","ServiceInfo2","ResourceName","ReservationId","ReservationName","UnitPrice","ProductOrderId","ProductOrderName","Term","PublisherType","PublisherName","ChargeType","Frequency","PricingModel","AvailabilityZone","BillingAccountId","BillingAccountName","BillingCurrencyCode","BillingPeriodStartDate","BillingPeriodEndDate","BillingProfileId","BillingProfileName","InvoiceSectionId","IsAzureCreditEligible","PartNumber","PayGPrice","PlanName","ServiceFamily","CostAllocationRuleName","benefitId","benefitName"]
IParser state:
ByteCount: 0
CharCount: 1705
Row: 2
RawRow: 2
Count: 60
RawRecord:
Hidden because ExceptionMessagesContainRawData is false.
,Source=CsvHelper,' Details: Reason = DataSource.Error;RunId = 534a8769-0465-45b3-a289-3c777a06e78e'. Error code: Fast Copy User Error. (Request ID: fd78e68b-6f84-484f-b3fe-dff8c16de3f1).

  • Hi DRSH_9876 ,

    Thanks for getting back and for sharing the detailed screenshots of your Dataflow and the error logs.

    Regarding the missing Publish button, in Dataflow Gen2 with CI/CD enabled (Git integration), the Publish option is replaced by Save and Run. It looks like this setting was enabled when you created the Dataflow, which is why you’re seeing the Save and Run button instead.

     

    As for the error you’re encountering, it’s challenging to pinpoint the root cause based on the screenshots alone. Since you’ve mentioned facing a similar error during the Copy Data activity in your pipelines, this suggests the issue might be originating from the data source itself - possibly related to the CSV file formatting or structure.

     

    Please verify the consistency of the CSV files, especially the second line where the error occurs, to ensure the columns align with the header and data format expectations.

     

    If the issue persists or requires more detailed troubleshooting, raising a support ticket with Microsoft Fabric support would be the best option to get dedicated help:
    https://support.fabric.microsoft.com/support

    If you have already raised a support ticket, please feel free to share any insights or solutions provided by the support team here. This would greatly help others in the community who might be facing similar issues.

     

    Best Regards,
    Vinay,
    Fabric Community Support.

11 Replies

  • miguel's avatar
    miguel
    Community Admin

    Hi!

    Could you share more information about your Dataflow? How many queries is it trying to load to the Warehouse? Are they using automatic settings? are you able to reproduce this behavior in a different Dataflow? if yes, could you please share the repro steps so we can test on our side?

    • DRSH_9876's avatar
      DRSH_9876
      Regular Visitor

      While saving and Running to Lakehouse it creates error log. Publish button is not visible ,as an alternative save n Run is the option givenError Log

      • v-veshwara-msft's avatar
        v-veshwara-msft
        Community Support

        Hi DRSH_9876 ,

        Thanks for getting back and for sharing the detailed screenshots of your Dataflow and the error logs.

        Regarding the missing Publish button, in Dataflow Gen2 with CI/CD enabled (Git integration), the Publish option is replaced by Save and Run. It looks like this setting was enabled when you created the Dataflow, which is why you’re seeing the Save and Run button instead.

         

        As for the error you’re encountering, it’s challenging to pinpoint the root cause based on the screenshots alone. Since you’ve mentioned facing a similar error during the Copy Data activity in your pipelines, this suggests the issue might be originating from the data source itself - possibly related to the CSV file formatting or structure.

         

        Please verify the consistency of the CSV files, especially the second line where the error occurs, to ensure the columns align with the header and data format expectations.

         

        If the issue persists or requires more detailed troubleshooting, raising a support ticket with Microsoft Fabric support would be the best option to get dedicated help:
        https://support.fabric.microsoft.com/support

        If you have already raised a support ticket, please feel free to share any insights or solutions provided by the support team here. This would greatly help others in the community who might be facing similar issues.

         

        Best Regards,
        Vinay,
        Fabric Community Support.

  • v-veshwara-msft's avatar
    v-veshwara-msft
    Community Support

    Hi DRSH_9876 ,
    Thanks for reaching out to Microsoft Fabric Community and for sharing the detailed error message.

    In addition to what miguel asked earlier, I wanted to share a few more points that might help you troubleshoot this issue.

     

    The error DelimitedTextBadDataDetected along with CsvHelper.BadDataException suggests there might be inconsistencies in the source file, such as mismatched column counts, unexpected delimiters, or special characters. The error indicates that the parser encountered an issue at line 2 of the CSV file, so reviewing that line for any anomalies might be helpful.

     

    Also, just a note: when your Dataflow's destination is set to Warehouse, Fabric uses a staging mechanism during the load, which can sometimes amplify errors related to data format. As a  workaround, could you try setting the destination to Lakehouse instead of Warehouse? This can sometimes help bypass staging-related issues and may resolve the error.

     

    Additionally, I found a few community threads where users faced similar challenges:

     

    Please let us know how it goes if you try switching the destination or reviewing the CSV data.

     

    Hope this helps. Please reach out for further assistance.
    If this post helps, then please consider to give a kudos and Accept as the solution to help the other members find it more quickly.


    Thank you.

    • DRSH_9876's avatar
      DRSH_9876
      Regular Visitor

      Thank you for sharing me the details.  Let me give you a brief background..

       

      I am using a Fabric trial version, wanted to import the Azure cost management and billing details (CSV) into Fabric Lakehouse or Warehouse.

       

      Step1: Created the workspace.

      Step2: Selected data pipeline to organize and move the data, had to choose copy data assistant as other options were throwing some errors.

      Step3 : Copy data – Choose Azure blobs and gave the connection strings using Organization account with create new connection.

      Step4: It shows me the folder path in Microsoft Azure where the CSV is generated.I choose the latest file and this throws the error [Bad data is found at line 2 in source CloudabilityAmmortizedCostExport01192023_f4bc323c-cc94-49dc-adf0-c26e2947adbd.csv. You can ignore bad data by setting BadDataFound to null. IReader state: ColumnCount: 77 CurrentIndex: 21 HeaderRecord: ["InvoiceSectionName","AccountName","AccountOwnerId","SubscriptionId","SubscriptionName","ResourceGroup","ResourceLocation","Date","ProductName","MeterCategory","MeterSubCategory","MeterId","MeterName","MeterRegion","UnitOfMeasure","Quantity","EffectivePrice","CostInBillingCurrency","CostCenter","ConsumedService","ResourceId","Tags","OfferId","AdditionalInfo","ServiceInfo1","ServiceInfo2","ResourceName","ReservationId","ReservationName","UnitPrice","ProductOrderId","ProductOrderName","Term","PublisherType","PublisherName","ChargeType","Frequency","PricingModel","AvailabilityZone","BillingAccountId","BillingAccountName","BillingCurrencyCode","BillingPeriodStartDate","BillingPeriodEndDate","BillingProfileId","BillingProfileName","InvoiceSectionId","IsAzureCreditEligible","PartNumber","PayGPrice","PlanName","ServiceFamily","CostAllocationRuleName","benefitId","benefitName"] IParser state: ByteCount: 0 CharCount: 2544 Row: 2 RawRow: 2 Count: 77 RawRecord: Hidden because ExceptionMessagesContainRawData is false. Activity ID: 59d472c2-dbdb-4c89-88b2-2b38d627abdf]

       

      In Preview date pane: If I choose schema agnostic (binary copy)..it works but gives wrong details. If I choose File format as comma, tab…etc none of the options work.

       

      Step 5: I choose Lakehouse as data destination and give name..it connects to root folder files and stores the csv data there.

       

      Step 6 : Open lakehouse and choose files – select the file and load to tables.

       

      In short, I want to ingest the cost management and billing data from Azure on daily basis into lakehouse, transform the data into warehouse and then using powerbi publish reports.

       

      Am I missing any steps.. I am using fabric for the first time and trial version.

       

      Appreciate your help and guidance

      • miguel's avatar
        miguel
        Community Admin

        This seems a bit different to the issue originally raised. The error from the initial message was coming from Dataflows or from pipelines? It appears that the last comment, the one I'm replying to, is only mentioning a pipeline and no Dataflow involvement. Could you please confirm?