DBFILESUploadSessionLookupErrorTag

enum DBFILESUploadSessionLookupErrorTag {}

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 48 hours.

    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 alread 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
  • (no description).

    Declaration

    Objective-C

    DBFILESUploadSessionLookupErrorOther

    Swift

    case other = 4