s3 putObject access denied

Question!

I have full permission to my s3 User login:

{
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": "*"
    }
  ]
}

There is no group policy attached to this user. But when I give putObject() command from my java program, I receive Access Denied message. What can be the issue. As I told my user login has administrator access as well as AmazonS3FullAccess. Thanks for help in advance.



Answers

You should make sure whether your IP address is allowed or not. For Amazon Services, you can restrict access using IP addresses too. I had the same issue.



This video can help you solving your question :)
By: admin