I have a process that retrieves an S3 bucket and then processes each bucket item using “For Each Object in Bucket” and has been working fine. This morning I received the following error:
For Each Object in Bucket: Failed to get s3 object: A version-id marker cannot be empty.
Error: A version-id marker cannot be empty.
I am running in to the same issue. We’re just starting to look at AWS S3 for a project and immediately upon using the “For Each Object in Bucket” activity it failed for the empty version ID marker.
Our team is also experiencing the same issue with the latest version as of this writing (UiPath.AmazonWebServices.Activities - 2.6.1), and upon some investigation I was able to replicate the issue in our development VPC.
It seems that it there is an internal call to the ListObjectVersions API, where that version-id marker is used for pagination, which is failing.
The failure will appear on either of the 2 following conditions in a versioned S3 bucket:
a single bucket object has over 1000 versions
the objects located under a folder/prefix have a cumulative sum of 1000+ version markers AND the SkipFolders property is FALSE/unchecked
Right now the only mitigation is to either remove old versions of the bucket object (if you can) or set SkipFolders to true.
A support ticket has been entered on our end, but hope this information helps the next person until it is resolved.