You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the AWS CLI against RunPod's S3-compatible API, any operation that requires paginated ListObjectsV2 calls fails because the endpoint returns the same ContinuationToken on consecutive pages. The AWS SDK detects this as an infinite loop and aborts.
fatal error: Error during pagination: The same next token was received twice:
{'ContinuationToken': ''}
The Base64-decoded token reveals it corresponds to an object key deep in the bucket, suggesting the pagination cursor is not advancing.
Affected operations (all fail):
aws s3 ls --recursive s3:///
aws s3 sync s3:/// ./local/
aws s3 cp --recursive s3://// ./local/
Working operations:
aws s3 ls s3:/// (non-recursive, uses Delimiter='/')
aws s3 ls s3://// (non-recursive with prefix + delimiter)
Activity
KIC commentedon Jun 22, 2026
And when you have file names with special charachters like model_lr=0.123.pt then not even the single file approach works quoted or not.
An error occurred (404) when calling the HeadObject operation: Key "..." does not exist. But with
aws s3 lsyou can list that exact file.