# The request body terminated unexpectedly

**URL:** <https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681>\
**Category:** Support\
**Created:** [September 17, 2017, 7:28am UTC](https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681 "2017-09-17T07:28:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasaru](https://forum.duplicati.com/user_avatar/forum.duplicati.com/vasaru/32/365_2.png) [@Vasaru](https://forum.duplicati.com/u/Vasaru)\
**Post date:** [September 17, 2017, 7:28am UTC](https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681/1 "2017-09-17T07:28:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Vasaru](https://forum.duplicati.com/user_avatar/forum.duplicati.com/vasaru/32/365_2.png) [@Vasaru](https://forum.duplicati.com/u/Vasaru)\
**Post date:** [September 18, 2017, 7:17am UTC](https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681/2 "2017-09-18T07:17:24Z")

</div>

Got the same error again. This time I found some logs.

```
Backup: Fatal \n\n Backup For: Photos \n\n Failed: The request body terminated unexpectedly
Details: Amazon.S3.AmazonS3Exception: The request body terminated unexpectedly ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at Amazon.Runtime.Internal.HttpRequest.GetResponse () [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
   --- End of inner exception stack trace ---
  at Amazon.Runtime.Internal.HttpRequest.GetResponse () [0x0003a] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.HttpHandler`1[TRequestContent].InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00073] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.RedirectHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.Unmarshaller.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <8a843122fb3b44618d45032a6ec10b3d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.ErrorHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
   --- End of inner exception stack trace ---
  at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, System.IO.FileAttributes attributes) [0x0000e] in <350b7aca2a3e435ba7906b395d86376f>:0
  at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) [0x0018a] in <350b7aca2a3e435ba7906b395d86376f>:0
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter) [0x0063c] in <350b7aca2a3e435ba7906b395d86376f>:0

```

I have created a bug report in the UI if it might help.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [September 18, 2017, 11:34am UTC](https://forum.duplicati.com/t/the-request-body-terminated-unexpectedly/681/3 "2017-09-18T11:34:24Z")

</div>

I think this is a variant of the problem that @maarten discovered here:

> [@"Unexpected number of remote volumes detected: 0!"-error](https://forum.duplicati.com/t/unexpected-number-of-remote-volumes-detected-0-error/406/17):
>
> Thanks for reopening that issue slight_smile About the null-object reference, I think I have collected some additional information. Sometimes sqlite3 throws an ‘disk i/o error’ (not to be confused with a general ‘i/o error’), and this is the actual stacktrace: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteComma…

In less technical terms: something breaks during the upload, but the problem is “hangs around” and causes it to crash at a later point.
