# Failed while executing Backup to Wasabi

**URL:** <https://forum.duplicati.com/t/failed-while-executing-backup-to-wasabi/1204>\
**Category:** Support\
**Tags:** hosting-services\
**Created:** [October 29, 2017, 8:29pm UTC](https://forum.duplicati.com/t/failed-while-executing-backup-to-wasabi/1204 "2017-10-29T20:29:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [October 30, 2017, 5:33pm UTC](https://forum.duplicati.com/t/failed-while-executing-backup-to-wasabi/1204/2 "2017-10-30T17:33:33Z")

</div>

@paulearley, I updated your post to make the error message easier to read (just started a new line before each “at…”. 🙂

This sounds very similar to the following which (to date) does not seem to have been “solved”:

> [@The request body terminated unexpectedly](https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681):
>
> Hi, I’m one of the crashplan orphans who are trying to find a new backup solution. I found wasabi s3 to be a affordable cloud solution and I’ve been trying out Duplicati for a while. However I’m having some problems when trying to backup my files. After the backup has been running for a while I get the error message “The request body terminated unexpectedly” and the backup fails. Any ideas what can cause this and how to solve it?

That being said, I’m not familiar with Wasabi but the error message mentions Amazon (so I’m **INCORRECTLY** assuming it’s a reseller of some kind) which has been known to throw this issue when trying to use Glacier storage…

> <https://github.com/duplicati/duplicati/issues/2517>
>
> \<!-- This is a bug report template. By following the instructions below and fill…ing out the sections with your information, you will help the developers to get all the necessary data to fix your issue.
> You can also preview your report before submitting it. You may remove sections that aren't relevant to your particular case.
> 
> Let's begin with a checklist: replace the empty checkbox \[\] below with a checked one \[x\] if you already searched for duplicate bugs --\>
> 
> I have:
> \- \[x\] searched open and closed issues for duplicates
> 
> \----------------------------------------
> 
> \### Version info
> 
> \*\*Duplicati Version:\*\* 2.0.1.53
> \*\*Operating System:\*\* Fedora 25
> \*\*Backend:\*\* S3
> 
> \### Bug description
> My backup to S3 with the Glacier storage class fails with "GLACIER is not allowed". I've tried using multiple regions that I know support Glacier (us-east-1, us-west-1, us-west-2), but none of them work. I've included the full traceback below.
> 
> \### Steps to reproduce
> \- set up a backup with s3 as the backend
> \- choose us-east-1 as the region
> \- choose Glacier as the storage type
> \- run the backup
> 
> \*\*Actual result:\*\* the backup fails with the aforementioned error
> \*\*Expected result:\*\* the backup should succeed
> 
> \### Screenshots
> n/a
> 
> \### debug log
> 
> \> {"ClassName":"Amazon.S3.AmazonS3Exception","Message":"GLACIER is not allowed.","InnerException":{"ClassName":"Amazon.Runtime.Internal.HttpErrorResponseException","Message":"The remote server returned an error: (400) Bad Request.","InnerException":{"ClassName":"System.Net.WebException","Message":"The remote server returned an error: (400) Bad Request.","InnerException":null,"HelpURL":null,"StackTraceString":" at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) \<0x40d8e090 + 0x001cb\> in \<filename unknown\>:0 \\n at System.Net.HttpWebRequest.GetResponse () \<0x40eb9ad0 + 0x0005a\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.HttpRequest.GetResponse () \<0x40f53c70 + 0x00043\> in \<filename unknown\>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233079,"Source":"System","ExceptionMethod":null,"Data":null},"HelpURL":null,"StackTraceString":" at Amazon.Runtime.Internal.HttpRequest.GetResponse () \<0x40f53c70 + 0x00303\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.HttpHandler\`1\[TRequestContent\].InvokeSync (IExecutionContext executionContext) \<0x40f60c40 + 0x0023b\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) \<0x40f52050 + 0x00034\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.RedirectHandler.InvokeSync (IExecutionContext executionContext) \<0x40f60bc0 + 0x00023\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) \<0x40f52050 + 0x00034\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.Unmarshaller.InvokeSync (IExecutionContext executionContext) \<0x40f60b10 + 0x00017\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) \<0x40f52050 + 0x00034\> in \<filename unknown\>:0 \\n at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync (IExecutionContext executionContext) \<0x40f60aa0 + 0x00017\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) \<0x40f52050 + 0x00034\> in \<filename unknown\>:0 \\n at Amazon.Runtime.Internal.ErrorHandler.InvokeSync (IExecutionContext executionContext) \<0x40f609b0 + 0x00027\> in \<filename unknown\>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233088,"Source":"AWSSDK.Core","ExceptionMethod":null,"Data":null,"Response":{"StatusCode":"BadRequest","IsSuccessStatusCode":false,"ContentType":"application/xml","ContentLength":-1,"ResponseBody":{}}},"HelpURL":null,"StackTraceString":" at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, FileAttributes attributes) \<0x40ee1820 + 0x01f53\> in \<filename unknown\>:0 \\n at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) \<0x40ee0dd0 + 0x0064f\> in \<filename unknown\>:0 \\n at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String\[\] sources, IFilter filter) \<0x40e3f3f0 + 0x01757\> in \<filename unknown\>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233088,"Source":"Duplicati.Library.Main","ExceptionMethod":null,"Data":null,"errorCode":"InvalidArgument","errorType":"Sender","requestId":"83B57CF992B5EF26","statusCode":"BadRequest","AmazonId2":"redacted","ResponseBody":null}

---

_[View the full topic](https://forum.duplicati.com/t/failed-while-executing-backup-to-wasabi/1204)._
