No token to close. path ''

Backing up to a location and at the end of the backup process we get this error:
no token to close. path ‘’

Logs show:
Newtonsoft.Json.JsonWriterException: No token to close. Path ‘’.
at Newtonsoft.Json.JsonWriter.CalculateLevelsToComplete(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.WriteEndArray()
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter.AddFilelistFile()
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter.Close()
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter.Dispose()
at Duplicati.Library.Main.Operation.BackupHandler.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.b__0(BackupResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

If I try to Recreate (delete and repair) the database I get the error:
No filelists found on the remote destination

Is this your first time trying to back up with Duplicati? Perhaps no files were actually uploaded. In that case a database recreation would give that error.

Can you take a screen shot of the Backup Destination section of your backup configuration? Blur or mask username/passwords or other sensitive information. I’m wondering if you are using backslashes instead of forward slashes in the “Path on server” field.

I believe that moving the config from one system to another before the initial backup completed corrupted the destination files. There was 3TB of data on the destination before I deleted it all and started again from scratch.
The backup looks very different now. It displays a source, backup, and version info even though the initial backup is not complete.