Skip to content
This repository was archived by the owner on Jul 5, 2021. It is now read-only.

Can't download archive after uploading #43

@iminina

Description

@iminina

First of all, I want to thank you for your programm. It is really great and exactly what I was looking for! But I have a little problem with downloading files from Glacier. Upload work well, I have an archive ID and I see archive in vault. But when I try to download archive, I get an error:

INFO: Downloading archive LJNGbR8hSa... from vault MyVault...
Exception in thread "main" Status Code: 403, AWS Service: AmazonSNS, AWS Request
 ID: 478e0076-98a2-5c46-a7b5-4c8e42f20c8f, AWS Error Code: InvalidClientTokenId,
 AWS Error Message: The security token included in the request is invalid

Download command looks like this:

java -jar uploader-0.0.8-SNAPSHOT-jar-with-dependencies.jar --credentials aws.properties --endpoint https://glacier.eu-central-1.amazonaws.com/ --vault MyVault --download LJNGbR8hSaOQsyr9F5Sg6j... --target D:\9_PROJECTS_MY\glacieruploader-master\download.rar

File aws.properties contains valid accessKey and secretKey. Upload, multipart upload, create vault works great for me. What I'm doing wrong with downloading files?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions