Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Error: locating or opening file in the archive: bad file

Tristan2709
5 - Atom

Hi there,

 

Received a file for our Alteryx workflow from a colleague which I have saved down in our shared files.

 

When insert this file into our workflow we get an error reading "Error: locating or opening file in the archive: bad file"

 

I don't understand why there should be difficulty "locating the file" when other files have been able to be located.

 

Looking to understand what this error is getting at? What makes a file a "bad file"?

 

Many thanks,

Tristan

 

1 REPLY 1
c-lopez
Alteryx
Alteryx

Hi @Tristan2709 ,

 

It could be an error finding the file if for example your shared folder is behind a VPN and you are not currently logged in to it. Further it could be that the file was corrupted while it was copied, you can check this with a hashing utility in Windows power shell. You will to hash your file and use the same algorithm to hash the original file and compare the two to see if there are discrepancies. Here is an example.

Files can get corrupted specially if they are large and being moved through an unstable connection.


If this does not solve your problem please reply with as many details as you can :)

Regards

Labels
Top Solution Authors