Hi - I'm using Swifty Dropbox to upload individual files to another dropbox using
let dbClient = DropboxClient(accessToken: "xxxxx....."
and the methods
func doUpload(fileName: String)
func uploadFirstChunk()
func uploadNextChunk()
In this part:
dbClient.files.uploadSessionAppendV2(cursor: Files.UploadSessionCursor(sessionId: self.sessionId, offset: UInt64(offset)), input: data!)
.response { response, error in
if error == nil {
self.offset += self.chunkSize
self.uploadProgress = Double(self.offset)/Double(self.videoFileSize)
self.progressView.progress = Float(self.uploadProgress)
self.uploadNextChunk()
} else if let callError = error {
I' ve seen Route Error/IncorrectOffset: {"correct_offset" = 1048576;}.
A beta tester has also reported it. It's not consistent, I only get it occasionally.
What does it mean?