Credentials don't have correct permissions error


#1

Hello,

I’ve been getting this error every time I try to create a new push subscription that connects to s3:
“error”: “Bad request,The credentials given to not have the correct permissions set for the xxxx.xxxx.xxxx bucket”

I followed all of the directions here:
http://dev.datasift.com/docs/push/connectors/s3

I’ve tried multiple keys and haven’t been successful in getting it to work.

Thanks for any help.


#2

Thanks for including this error message. This is most likely due to an S3 feature that affects bucket names that contain periods/dots. Buckets with periods require the S3 region to be specified. More details can be found here: http://shlomoswidler.com/2009/08/amazon-s3-gotcha-using-virtual-host.html

There are two approaches that can be taken to get your push destination to validate:

  • create and deliver to an S3 bucket without periods in the name
  • specify the region of the S3 bucket when creating a new push subscription. See the region output parameter in our documentation: http://dev.datasift.com/docs/push/connectors/s3 .

The S3 bucket region can also be specified in the DataSift UI when creating a new S3 destination: