UploadSessionFinishError

public enum UploadSessionFinishError : CustomStringConvertible, JSONRepresentable

The UploadSessionFinishError union

  • The session arguments are incorrect; the value explains the reason.

    Declaration

    Swift

    case lookupFailed(Files.UploadSessionLookupError)
  • Unable to save the uploaded contents to a file. Data has already been appended to the upload session. Please retry with empty data body and updated offset.

    Declaration

    Swift

    case path(Files.WriteError)
  • The supplied property group is invalid. The file has uploaded without property groups.

    Declaration

    Swift

    case propertiesError(FileProperties.InvalidPropertyGroupError)
  • The batch request commits files into too many different shared folders. Please limit your batch request to files contained in a single shared folder.

    Declaration

    Swift

    case tooManySharedFolderTargets
  • There are too many write operations happening in the user’s Dropbox. You should retry uploading this file.

    Declaration

    Swift

    case tooManyWriteOperations
  • Uploading data not allowed when finishing concurrent upload session.

    Declaration

    Swift

    case concurrentSessionDataNotAllowed
  • Concurrent upload sessions need to be closed before finishing.

    Declaration

    Swift

    case concurrentSessionNotClosed
  • Not all pieces of data were uploaded before trying to finish the session.

    Declaration

    Swift

    case concurrentSessionMissingData
  • The request payload must be at most 150 MB.

    Declaration

    Swift

    case payloadTooLarge
  • The content received by the Dropbox server in this call does not match the provided content hash.

    Declaration

    Swift

    case contentHashMismatch
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }