Getting this error while copying 3 files from adlgen2 container to same adlsgen2container.

Arpita Mishra 21 Reputation points
2021-03-19T08:25:11.743+00:00

Failure happened on 'Sink' side. ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: Operation returned an invalid status code 'BadRequest'. Account: 'adlsstorageaccountgen3'. FileSystem: 'sourcefiles'. Path: '2020/12/ 07/Apps.csv'. Message: 'Bad Request'. TimeStamp: 'Fri, 19 Mar 2021 08:17:59 GMT'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file name '2020/12/ 07/Apps.csv' does not conform to the naming rules by the data store 'Azure Data Lake Storage Gen2'.,Source=,''Type=Microsoft.Azure.Storage.Data.Models.ErrorSchemaException,Message=Operation returned an invalid status code 'BadRequest',Source=Microsoft.DataTransfer.ClientLibrary,'

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,351 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,618 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,616 Reputation points
    2021-03-19T09:09:39.02+00:00

    07 folder name has empty space in it. Maybe try removing that and try copying again

    "2020/12/ 07/Apps.csv"


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    1 person found this answer helpful.
    0 comments No comments

  2. Srinivas Murthy 20 Reputation points
    2024-04-08T19:44:42.1533333+00:00

    Hello Everyone ,

    Can someone please help on this issue . Not sure it use to work before now why this error is occuring . Please note sensitive information is marked with 'x' .

    ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: An error occurred while sending the request.. Account: 'xxxxxxxx'. FileSystem: 'xxxx'. Path: 'CAP/CAP Data_2024-02-55_133004.xlsx'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=Unable to connect to the remote server,Source=System,''Type=System.Net.Sockets.SocketException,Message=A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.xxx.xx.xxx:443,Source=System,'