Skip to content

Unable to post data to s3, getting forbidden error

0

I am new to posting data to S3. I have a file that needs to be pushed to S3 bucket. I have created a HttpPost Request with canonical request, string to sign and adding signature to header. It always fails with forbidden error. I have added policies, but still failing. I can share the transaction id.

asked a year ago253 views
1 Answer
2

Hello,

You're likely encountering a "Forbidden" error because the user or role you're using to access S3 doesn't have the necessary permissions to put objects into the bucket.

1. Check your policy: Ensure that the policy attached to the user or role grants the PutObject permission for the specific bucket you're trying to access.

2. Verify credentials: Double-check that the access key ID and secret access key you're using are correct and have the necessary permissions.

Check the below link:

https://www.aomeitech.com/cyber-data-backup/s3-access-denied-8345.html

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.