DBFILESUploadSessionLookupErrorTag

Objective-C

enum DBFILESUploadSessionLookupErrorTag : NSInteger {}

Swift

@frozen enum DBFILESUploadSessionLookupErrorTag : Int, @unchecked Sendable

The DBFILESUploadSessionLookupErrorTag enum type represents the possible tag states with which the DBFILESUploadSessionLookupError union can exist.

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

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorNotFound

    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

    DBFILESUploadSessionLookupErrorIncorrectOffset

    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

    DBFILESUploadSessionLookupErrorClosed

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorNotClosed

    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

    DBFILESUploadSessionLookupErrorTooLarge

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize

    Swift

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

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorPayloadTooLarge

    Swift

    case payloadTooLarge = 7
  • (no description).

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorOther

    Swift

    case other = 8