Amazon web services – AWS ListObjectsV2 runs indefinitely
I am using AWS ListObjectsV2 to iterate over S3 keys. There are more than 1,000 keys, so the output returns me IsTruncated=true as it should. However the ContinuationToken is empty which makes the loop in my code to run indefinitely.…