UploadSessionAppendError

public enum UploadSessionAppendError : CustomStringConvertible, JSONRepresentable

The UploadSessionAppendError union

  • The upload session ID was not found or has expired. Upload sessions are valid for 7 days.

    Declaration

    Swift

    case notFound
  • The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error.

    Declaration

    Swift

    case incorrectOffset(Files.UploadSessionOffsetError)
  • You are attempting to append data to an upload session that has already been closed (i.e. committed).

    Declaration

    Swift

    case closed
  • The session must be closed before calling upload_session/finish_batch.

    Declaration

    Swift

    case notClosed
  • You can not append to the upload session because the size of a file should not reach the max file size limit (i.e. 350GB).

    Declaration

    Swift

    case tooLarge
  • For concurrent upload sessions, offset needs to be multiple of 4194304 bytes.

    Declaration

    Swift

    case concurrentSessionInvalidOffset
  • For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded.

    Declaration

    Swift

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

    Declaration

    Swift

    case payloadTooLarge
  • An unspecified error.

    Declaration

    Swift

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

    Declaration

    Swift

    case contentHashMismatch
  • Declaration

    Swift

    public var description: String { get }