Error: upload failed:Parameter validation failed

0 votes

Cannot upload my document to s3 using aws cli.

C:\Users\jino>aws s3 cp C:/Users/jino/Desktop s3://jino
upload failed: Desktop\ to s3://jino/ Parameter validation failed:
Invalid length for parameter Key, value: 0, valid range: 1-inf

can someone help?

Nov 27, 2018 in AWS by Jino
• 5,560 points
996 views

1 answer to this question.

0 votes

You have not mentioned the file you want to copy to s3 bucket.

again a good practice is that you should mention the path of your computer contains forward slash while when you use s3, the path there contains back slash.

eg:

C:\Users\jino>aws s3 cp C:\Users\jino\Desktop\abcd.txt s3://jino
answered Nov 27, 2018 by Shuvodip Ghosh

Related Questions In AWS

0 votes
1 answer

CodePipeline Build failed, error asking for runtime version.

If you use the aws/codebuild/standard:2.0 CodeBuild managed ...READ MORE

answered Jun 27 in AWS by Haseeb
346 views
0 votes
0 answers
+5 votes
2 answers

EC2 instance status check failed

Creating a snapshot from an EBS volume ...READ MORE

answered Mar 27, 2018 in AWS by DragonLord999
• 8,380 points
438 views
0 votes
2 answers
0 votes
1 answer
+5 votes
1 answer

Error: OptionsRequestDenied error

Yes, I got the same problem! The new ...READ MORE

answered Sep 20, 2018 in AWS by bug_seeker
• 15,350 points

edited Sep 20, 2018 by Priyaj 655 views