Title: InvalidRequest
Last modified: June 18, 2018

---

# InvalidRequest

 *  Resolved [frolly](https://wordpress.org/support/users/frolly/)
 * (@frolly)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/invalidrequest/)
 * Hi,
    I have a problem with the plugin in version 2.9. All files are generated
   on the static html dir but there are not sync in the S3 bucket and the cloudfront
   distribution is not reset…
 * This is my error message :
 *     ```
       S3Response Object
       (
           [error] => Array
               (
                   [code] => InvalidRequest
                   [message] => The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
               )
   
           [code] => 400
           [headers] => Array
               (
                   [x-amz-request-id] => 50BA61D456FBA306
                   [x-amz-id-2] => M7o4NaGiErMbrVelnCURA3MLdj4Rek/MkIj1BWgAxU4aG8DG7FMSagVzHVw40pgEXDbgU9+0K54=
                   [x-amz-region] => eu-central-1
                   [Content-Type] => application/xml
                   [Transfer-Encoding] => chunked
                   [Connection] => close
                   [Server] => AmazonS3
               )
   
           [body] => <?xml version="1.0" encoding="UTF-8"?>
       <Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><RequestId>50BA61D456FBA306</RequestId><HostId>M7o4NaGiErMbrVelnCURA3MLdj4Rek/MkIj1BWgAxU4aG8DG7FMSagVzHVw40pgEXDbgU9+0K54=</HostId></Error>
       )
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/invalidrequest/#post-10411358)
 * Hi Frolly,
 * Sorry for the late response, I’m just seeing this now. An issue was raised earlier
   today regarding this issue and a fix is in development. You may be able to downgrade
   to version 2.5 or so of the plugin or to get around it, change your S3 bucket’s
   region to one of the default US virginia or oregon regions.
 * I expect the fix for the underlying issue to take at least 3 days.
 * Thanks for your patience.
 * The issue can be tracked here:
 * [https://github.com/leonstafford/wordpress-static-html-plugin/issues/99](https://github.com/leonstafford/wordpress-static-html-plugin/issues/99)
 * Cheers,
 * Leon
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/invalidrequest/#post-10411414)
 * I will close this ticket for now as it is being tracked at [https://github.com/leonstafford/wordpress-static-html-plugin/issues/99](https://github.com/leonstafford/wordpress-static-html-plugin/issues/99)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘InvalidRequest’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/static-html-output-plugin_cce3eb.
   svg)
 * [WP2Static](https://wordpress.org/plugins/static-html-output-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/static-html-output-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/static-html-output-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/static-html-output-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/static-html-output-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/static-html-output-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/invalidrequest/#post-10411414)
 * Status: resolved