Compress/Zip file error

Hi Team,

When trying to zip a folder BOT is giving the below error.

Compress/Zip Files: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Could you please provide solution to fix this or any workaround for this?

Thanks!

Hi @Rama_Thota

The file path that you had given is long and it will not support by UiPath. Place the file in the shortest path and provide that path and try again.

Hope it helps!!

@Rama_Thota

-Try to shorten the names of files and folders involved in the zip process. This can help reduce the overall path length.
-If possible, move the folder you want to zip to a location with a shorter path. This reduces the length of the full path.
-When you are specifying the destination for the ZIP file, make sure the destination path is as short as possible.

@mkankatala and @Dilli_Reddy, Unfortunately we cannot shorten the path name as it is the shared drive path and it can impact other jobs. So please suggest. Also this is occurring only from two weeks.

Thanks!