Pipeline failed to extract zip file

Muhammad Shoaib 1 Reputation point
2020-11-27T12:50:19.51+00:00

Hello,

I have Zip file on a blob Storage and it contains multiple zip files. I am trying to extract zip using copy data activity and got the following error:

Error code 2200 Failure happened on 'Source' side. ErrorCode=UserErrorFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Upload file failed at path xxxxxx .,Source=Microsoft.DataTransfer.Common,''Type=System.ArgumentOutOfRangeException,Message=Number was less than the array's lower bound in the first dimension. Parameter name: srcIndex,Source=mscorlib,'

source : blob storage
compression: Zip deflate
sink: blob storage
compression: none

can anyone help me to resolve this issue.

Thanks,
Shoaib

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,643 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-11-27T14:49:42.247+00:00

    Hi @Muhammad Shoaib ,

    Welcome to Microsoft Q&A Platform. Thanks for posting the query.

    I looked at similar issues from Customers in recent past and it is observed that the compression method on zip file is the root cause. Currently data factory can load zip files which have supported method, like Deflate. Please refer to the official documentation and the recommended approach is to use deflate method.

    Please let us know if this helps in resolving the issue. If issue persists, please share with us further details on data factory name, region and integration runtime used to help in further investigation.

    ---

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

  2. Imran 1 Reputation point
    2021-06-14T15:38:20.46+00:00

    Hi @Muhammad Shoaib I have same issue but my zip file compression method is "Deflate" still my pipeline is failing with below error.

    Any leads on this. Thanks in advance.

    Failure happened on 'Sink' side. ErrorCode=UserErrorUnzipInvalidFile,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file 'sample_file.zip' is not a valid Zip file with Deflate compression method.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.IO.InvalidDataException,Message=End of Central Directory record could not be found.,Source=Microsoft.DataTransfer.ClientLibrary,'