DBFILESUploadSessionAppendErrorTag

Objective-C

enum DBFILESUploadSessionAppendErrorTag : NSInteger {}

Swift

@frozen enum DBFILESUploadSessionAppendErrorTag : Int, @unchecked Sendable

The DBFILESUploadSessionAppendErrorTag enum type represents the possible tag states with which the DBFILESUploadSessionAppendError union can exist.

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorNotFound

    Swift

    case notFound = 0
  • 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

    Objective-C

    DBFILESUploadSessionAppendErrorIncorrectOffset

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorClosed

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorNotClosed

    Swift

    case notClosed = 3
  • 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

    Objective-C

    DBFILESUploadSessionAppendErrorTooLarge

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorPayloadTooLarge

    Swift

    case payloadTooLarge = 7
  • (no description).

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorOther

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionAppendErrorContentHashMismatch

    Swift

    case contentHashMismatch = 9