# Error Failed to connect: The authorization header is malformed; the region is wrong; expecting 'us-east-1'

**URL:** https://forum.duplicati.com/t/error-failed-to-connect-the-authorization-header-is-malformed-the-region-is-wrong-expecting-us-east-1/7305
**Category:** Support
**Created:** [June 14, 2019, 9:46pm UTC](https://forum.duplicati.com/t/error-failed-to-connect-the-authorization-header-is-malformed-the-region-is-wrong-expecting-us-east-1/7305 "2019-06-14T21:46:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cyruspy](https://forum.duplicati.com/user_avatar/forum.duplicati.com/cyruspy/32/3137_2.png) [@cyruspy](https://forum.duplicati.com/u/cyruspy)
#### Post date: [June 14, 2019, 9:46pm UTC](https://forum.duplicati.com/t/error-failed-to-connect-the-authorization-header-is-malformed-the-region-is-wrong-expecting-us-east-1/7305/1 "2019-06-14T21:46:55Z")

</div>

Hi!,

I’m trying to setup a minio S3 based destination for backups, the thing is it complains about malformed authorization, mentioning a region I didn’t setup. Trying to set a custom region and leaving “default”, but both configurations end up with that error.

On the backend, we have a test minio cluster on HTTP.

Client: 2.0.4.18\_canary\_2019-05-12  
Server: Minio 2019-06-11T00:44:33Z

Any ideas?

---

<div class="post-metadata">

### Author: ![cyruspy](https://forum.duplicati.com/user_avatar/forum.duplicati.com/cyruspy/32/3137_2.png) [@cyruspy](https://forum.duplicati.com/u/cyruspy)
#### Post date: [June 14, 2019, 10:43pm UTC](https://forum.duplicati.com/t/error-failed-to-connect-the-authorization-header-is-malformed-the-region-is-wrong-expecting-us-east-1/7305/2 "2019-06-14T22:43:20Z")

</div>

For the record, needed to set s3-ext-authenticationregion to match the same as “region” in the default attributes.

---

<div class="post-metadata">

### Author: ![Rajesh\_Kumar](https://forum.duplicati.com/user_avatar/forum.duplicati.com/rajesh_kumar/32/6075_2.png) [@Rajesh\_Kumar](https://forum.duplicati.com/u/Rajesh_Kumar)
#### Post date: [November 5, 2021, 3:56am UTC](https://forum.duplicati.com/t/error-failed-to-connect-the-authorization-header-is-malformed-the-region-is-wrong-expecting-us-east-1/7305/3 "2021-11-05T03:56:23Z")

</div>

What it means ? can you please elaborate ?
