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,810 points
10,732 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 28, 2019 in AWS by Haseeb
2,964 views
0 votes
0 answers
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
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,520 points

edited Sep 20, 2018 by Priyaj 1,816 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP