• buddhikajm

    (@buddhikajm)


    Hi,
    When I am trying the plugin I am getting below error message.

    “Error Getting Bucket Region —There was an error attempting to get the region of the bucket my_bucket_name: The current Access Key ID is not valid, please update it.”

    This happens only when I use a S3 bucket in AWS China. I am using a correct & valid access key

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Delicious Brains

    (@deliciousbrains)

    Has the AWS account had the required region enabled? (some regions are not enabled by default)

    Can you double check that both the Access Key ID and Secret Access Key are correct, and that the define or UI entries are as you expect?

    -IJ

    Thread Starter buddhikajm

    (@buddhikajm)

    I checked both Access Key ID and Secret Access Key. Those are correct.
    Additionally I checked the region of the S3 bucket and it is
    Amazon Web Services Region: China (Beijing) cn-north-1

    Below are my settings in wp-config.php file

    define( 'AS3CF_SETTINGS', serialize( array(
         'provider' => 'aws',
            'access-key-id' => 'my_access_key_here',
            'secret-access-key' => 'my_secret_key_here',		
    ) ) );
    
    define( 'AS3CF_REGION', 'cn-north-1' );
    • This reply was modified 2 years ago by buddhikajm.
    • This reply was modified 2 years ago by buddhikajm.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘aws China S3 – Error Getting Bucket Region’ is closed to new replies.